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 a2527ca..c4ce9e9 100644 (file)
@@ -245,7 +245,7 @@ alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr)
 }
 
 void
 }
 
 void
-free_interface(struct interface *iface)
+interface_free(struct interface *iface)
 {
        netifd_ubus_remove_interface(iface);
        list_del(&iface->list);
 {
        netifd_ubus_remove_interface(iface);
        list_del(&iface->list);
index 1a854cb..f793459 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);
 
 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);
 
 
 void interface_set_proto_state(struct interface *iface, struct interface_proto_state *state);