summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d7900d6..a15fc81 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);