aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-12 12:08:46 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-01-12 12:08:46 +0000
commitd1d23a6e674b1c43544dc99681d31b287cc521ad (patch)
treecaf76d2e2a5327625b82670606604b65f4c92c57 /networking
parent29e08ffcdf8de6eb57b280d587796642259fc66e (diff)
downloadbusybox-d1d23a6e674b1c43544dc99681d31b287cc521ad.tar.gz
- mark argument who of print_route as unused.
Diffstat (limited to 'networking')
-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 @@
+/* vi: set sw=4 ts=4: */
/*
* iproute.c "ip route".
*
@@ -62,7 +63,8 @@ static int flush_update(void)
return 0;
}
-static int print_route(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
+static int print_route(struct sockaddr_nl *who __attribute__((unused)),
+ struct nlmsghdr *n, void *arg)
{
FILE *fp = (FILE*)arg;
struct rtmsg *r = NLMSG_DATA(n);