From: Felix Fietkau Date: Fri, 29 Jul 2011 17:27:43 +0000 (+0200) Subject: s/free_interface/interface_free/ X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=49e68df7c8e99c66084612007d89c43d9ab2a975;p=oweals%2Fnetifd.git s/free_interface/interface_free/ --- diff --git a/interface.c b/interface.c index a2527ca..c4ce9e9 100644 --- a/interface.c +++ b/interface.c @@ -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); diff --git a/interface.h b/interface.h index 1a854cb..f793459 100644 --- a/interface.h +++ b/interface.h @@ -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);