aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-12 12:08:46 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-12 12:08:46 +0000
commit9c2f0c5c3442114e789d9f39832343aa5ee0784f (patch)
treecaf76d2e2a5327625b82670606604b65f4c92c57
parentafee31a3bf42168532c811cf0107b6d8c94a2b58 (diff)
downloadbusybox-w32-9c2f0c5c3442114e789d9f39832343aa5ee0784f.tar.gz
busybox-w32-9c2f0c5c3442114e789d9f39832343aa5ee0784f.tar.bz2
busybox-w32-9c2f0c5c3442114e789d9f39832343aa5ee0784f.zip
- mark argument who of print_route as unused.
git-svn-id: svn://busybox.net/trunk/busybox@13257 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--networking/libiproute/iproute.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index d7900d62e..a15fc81dc 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -1,3 +1,4 @@
1/* vi: set sw=4 ts=4: */
1/* 2/*
2 * iproute.c "ip route". 3 * iproute.c "ip route".
3 * 4 *
@@ -62,7 +63,8 @@ static int flush_update(void)
62 return 0; 63 return 0;
63} 64}
64 65
65static int print_route(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) 66static int print_route(struct sockaddr_nl *who __attribute__((unused)),
67 struct nlmsghdr *n, void *arg)
66{ 68{
67 FILE *fp = (FILE*)arg; 69 FILE *fp = (FILE*)arg;
68 struct rtmsg *r = NLMSG_DATA(n); 70 struct rtmsg *r = NLMSG_DATA(n);