summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--interface.c4
-rw-r--r--interface.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/interface.c b/interface.c
index 5cefd4c..a2527ca 100644
--- a/interface.c
+++ b/interface.c
@@ -210,7 +210,7 @@ alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr)
struct blob_attr *cur;
struct device *dev;
- iface = get_interface(name);
+ iface = interface_get(name);
if (iface)
return iface;
@@ -255,7 +255,7 @@ free_interface(struct interface *iface)
}
struct interface *
-get_interface(const char *name)
+interface_get(const char *name)
{
struct interface *iface;
diff --git a/interface.h b/interface.h
index 9d68635..1a854cb 100644
--- a/interface.h
+++ b/interface.h
@@ -59,7 +59,7 @@ struct interface {
extern const struct config_param_list interface_attr_list;
-struct interface *get_interface(const char *name);
+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);