projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b567e47
)
s/get_interface/interface_get/
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 29 Jul 2011 17:27:34 +0000
(19:27 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 29 Jul 2011 17:27:34 +0000
(19:27 +0200)
interface.c
patch
|
blob
|
history
interface.h
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index
5cefd4c
..
a2527ca
100644
(file)
--- 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;
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;
diff --git
a/interface.h
b/interface.h
index
9d68635
..
1a854cb
100644
(file)
--- a/
interface.h
+++ b/
interface.h
@@
-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);