From c7cc5a9432d2224d4e0fe3cf8ae72abb7ef25e2c Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 19 Apr 2009 01:27:20 +0000 Subject: mdev: Rob's #if forest removal *: remove superfluous conts in "f(type *const param)" --- networking/libiproute/ll_map.c | 2 +- networking/libiproute/ll_map.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'networking/libiproute') 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); */ -- cgit v1.1