interface: make __interface_set_down() static
[project/netifd.git] / interface.h
index e5639eb326cd425e18d277c67ba983ecbeb68d85..95d8f3c17b6b74f7000d42f652a84fae15fc6e0a 100644 (file)
@@ -184,9 +184,8 @@ bool interface_add_alias(struct interface *iface, struct blob_attr *config);
 void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state);
 
 void interface_set_available(struct interface *iface, bool new_state);
-int interface_set_up(struct interface *iface);
+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);