From 32f11a80c31c3886aaee4c5e3a8e0d1cfb49b0f2 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Mon, 20 Aug 2018 14:21:06 +0200 Subject: [PATCH] interface: make __interface_set_down() static Signed-off-by: Hans Dedecker --- interface.c | 2 +- interface.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/interface.c b/interface.c index e143095..6fa51fa 100644 --- a/interface.c +++ b/interface.c @@ -284,7 +284,7 @@ mark_interface_down(struct interface *iface) system_flush_routes(); } -void +static void __interface_set_down(struct interface *iface, bool force) { enum interface_state state = iface->state; diff --git a/interface.h b/interface.h index 2b8b3b6..95d8f3c 100644 --- a/interface.h +++ b/interface.h @@ -186,7 +186,6 @@ void interface_set_proto_state(struct interface *iface, struct interface_proto_s void interface_set_available(struct interface *iface, bool new_state); void interface_set_up(struct interface *iface); int interface_set_down(struct interface *iface); -void __interface_set_down(struct interface *iface, bool force); int interface_renew(struct interface *iface); void interface_set_main_dev(struct interface *iface, struct device *dev); -- 2.25.1