diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-08-20 14:21:06 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-08-20 14:51:44 +0200 |
commit | 32f11a80c31c3886aaee4c5e3a8e0d1cfb49b0f2 (patch) | |
tree | 78eee16c80b61e58651a3874db7c3cacdaf0d053 | |
parent | b9d5a8c37da02ccac5821b7599f4c9cd4461a662 (diff) |
interface: make __interface_set_down() static
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r-- | interface.c | 2 | ||||
-rw-r--r-- | interface.h | 1 |
2 files changed, 1 insertions, 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); |