svn commit: trunk/busybox/networking/libiproute

aldot at busybox.net aldot at busybox.net
Thu Jan 12 12:08:47 UTC 2006


Author: aldot
Date: 2006-01-12 04:08:46 -0800 (Thu, 12 Jan 2006)
New Revision: 13257

Log:
- mark argument who of print_route as unused.


Modified:
   trunk/busybox/networking/libiproute/iproute.c


Changeset:
Modified: trunk/busybox/networking/libiproute/iproute.c
===================================================================
--- trunk/busybox/networking/libiproute/iproute.c	2006-01-12 11:23:54 UTC (rev 13256)
+++ trunk/busybox/networking/libiproute/iproute.c	2006-01-12 12:08:46 UTC (rev 13257)
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
 /*
  * iproute.c		"ip route".
  *
@@ -62,7 +63,8 @@
 	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);




More information about the busybox-cvs mailing list