From 49e68df7c8e99c66084612007d89c43d9ab2a975 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 Jul 2011 19:27:43 +0200 Subject: [PATCH] s/free_interface/interface_free/ --- interface.c | 2 +- interface.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.11.0