From 9c2f0c5c3442114e789d9f39832343aa5ee0784f Mon Sep 17 00:00:00 2001 From: aldot Date: Thu, 12 Jan 2006 12:08:46 +0000 Subject: - mark argument who of print_route as unused. git-svn-id: svn://busybox.net/trunk/busybox@13257 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- networking/libiproute/iproute.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3-55-g6feb