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

index 5cefd4c..a2527ca 100644 (file)
@@ -210,7 +210,7 @@ alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr)
        struct blob_attr *cur;
        struct device *dev;
 
        struct blob_attr *cur;
        struct device *dev;
 
-       iface = get_interface(name);
+       iface = interface_get(name);
        if (iface)
                return iface;
 
        if (iface)
                return iface;
 
@@ -255,7 +255,7 @@ free_interface(struct interface *iface)
 }
 
 struct interface *
 }
 
 struct interface *
-get_interface(const char *name)
+interface_get(const char *name)
 {
        struct interface *iface;
 
 {
        struct interface *iface;
 
index 9d68635..1a854cb 100644 (file)
@@ -59,7 +59,7 @@ struct interface {
 
 extern const struct config_param_list interface_attr_list;
 
 
 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);
 
 struct interface *alloc_interface(const char *name, struct uci_section *s, struct blob_attr *attr);
 void free_interface(struct interface *iface);