aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ll_map.c
diff options
context:
space:
mode:
authorosdl.net!shemminger <osdl.net!shemminger>2004-08-31 17:45:21 +0000
committerosdl.net!shemminger <osdl.net!shemminger>2004-08-31 17:45:21 +0000
commit6dc9f016347441fbf94cf851c054b0f45ba32c1c (patch)
tree5ff63c775a44504e56c9acb54e72b651a136c350 /lib/ll_map.c
parent1798c9d5a421f4c8136c8d887feb5c5b126643b9 (diff)
downloadplatform_external_iproute2-6dc9f016347441fbf94cf851c054b0f45ba32c1c.tar.gz
platform_external_iproute2-6dc9f016347441fbf94cf851c054b0f45ba32c1c.tar.bz2
platform_external_iproute2-6dc9f016347441fbf94cf851c054b0f45ba32c1c.zip
make all filtering handles take const args.
(Logical change 1.77)
Diffstat (limited to 'lib/ll_map.c')
-rw-r--r--lib/ll_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ll_map.c b/lib/ll_map.c
index e5a95e6a..e5798d36 100644
--- a/lib/ll_map.c
+++ b/lib/ll_map.c
@@ -35,7 +35,7 @@ struct idxmap
static struct idxmap *idxmap[16];
-int ll_remember_index(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
+int ll_remember_index(const struct sockaddr_nl *who, const struct nlmsghdr *n, void *arg)
{
int h;
struct ifinfomsg *ifi = NLMSG_DATA(n);
@@ -131,7 +131,7 @@ unsigned ll_index_to_flags(int idx)
return 0;
}
-int ll_name_to_index(char *name)
+int ll_name_to_index(const char *name)
{
static char ncache[16];
static int icache;