summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interface.c2
-rw-r--r--interface.h1
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);