diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:27:34 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-29 19:27:34 +0200 |
commit | a7d77cbb91d64cbd36808f09e93e21a866844fd4 (patch) | |
tree | 0e136fe44e3f5cecd596e019b46400cc2e390de6 | |
parent | b567e47574a6f4179bdce88e65aaabb1a97cfb76 (diff) |
s/get_interface/interface_get/
-rw-r--r-- | interface.c | 4 | ||||
-rw-r--r-- | interface.h | 2 |
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); |