diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-19 05:27:20 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-19 05:27:20 +0400 |
commit | c7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c (patch) | |
tree | 103a6d3e66fd142e0f2b8d57a8156b87a6f590c9 /networking | |
parent | 885b6f29ae2740399231427dc2c6efe47db9a80d (diff) |
mdev: Rob's #if forest removal
*: remove superfluous conts in "f(type *const param)"
Diffstat (limited to 'networking')
-rw-r--r-- | networking/libiproute/ll_map.c | 2 | ||||
-rw-r--r-- | networking/libiproute/ll_map.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/ll_map.c b/networking/libiproute/ll_map.c index 2ed7fbbb3..951496f4d 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 3966def10..b183cd6c6 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); */ |