From: Hans Dedecker Date: Mon, 20 Aug 2018 12:21:06 +0000 (+0200) Subject: interface: make __interface_set_down() static X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=32f11a80c31c3886aaee4c5e3a8e0d1cfb49b0f2;p=oweals%2Fnetifd.git interface: make __interface_set_down() static Signed-off-by: Hans Dedecker --- 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);