s/free_interface/interface_free/
authorFelix Fietkau <nbd@openwrt.org>
Fri, 29 Jul 2011 17:27:43 +0000 (19:27 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 29 Jul 2011 17:27:43 +0000 (19:27 +0200)
interface.c
interface.h

index a2527ca61c14680d01a09f516d5effbd07164a7d..c4ce9e9c618e3c94d0fa270c4f0a8cf70b8437ee 100644 (file)
@@ -245,7 +245,7 @@ alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr)
 }
 
 void
-free_interface(struct interface *iface)
+interface_free(struct interface *iface)
 {
        netifd_ubus_remove_interface(iface);
        list_del(&iface->list);
index 1a854cb488051148a5b1f12130304cbe283241d4..f7934595c301769df62a7027b5fbd046ef0e1bfd 100644 (file)
@@ -61,7 +61,7 @@ extern const struct config_param_list interface_attr_list;
 
 struct interface *interface_get(const char *name);
 struct interface *alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr);
-void free_interface(struct interface *iface);
+void interface_free(struct interface *iface);
 
 void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state);