summaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-19 01:27:20 +0000
committerDenis Vlasenko2009-04-19 01:27:20 +0000
commitc7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c (patch)
tree103a6d3e66fd142e0f2b8d57a8156b87a6f590c9 /networking/libiproute
parent885b6f29ae2740399231427dc2c6efe47db9a80d (diff)
downloadbusybox-c7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c.zip
busybox-c7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c.tar.gz
mdev: Rob's #if forest removal
*: remove superfluous conts in "f(type *const param)"
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/ll_map.c2
-rw-r--r--networking/libiproute/ll_map.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/ll_map.c b/networking/libiproute/ll_map.c
index 2ed7fbb..951496f 100644
--- a/networking/libiproute/ll_map.c
+++ b/networking/libiproute/ll_map.c
@@ -133,7 +133,7 @@ unsigned ll_index_to_flags(int idx)
return 0;
}
-int xll_name_to_index(const char *const name)
+int xll_name_to_index(const char *name)
{
int ret = 0;
int sock_fd;
diff --git a/networking/libiproute/ll_map.h b/networking/libiproute/ll_map.h
index 3966def..b183cd6 100644
--- a/networking/libiproute/ll_map.h
+++ b/networking/libiproute/ll_map.h
@@ -6,7 +6,7 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
int ll_remember_index(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
int ll_init_map(struct rtnl_handle *rth);
-int xll_name_to_index(const char *const name);
+int xll_name_to_index(const char *name);
const char *ll_index_to_name(int idx);
const char *ll_idx_n2a(int idx, char *buf);
/* int ll_index_to_type(int idx); */