mirror of https://github.com/mirror/busybox.git
- mark argument who of print_route as unused.
parent
29e08ffcdf
commit
d1d23a6e67
|
@ -1,3 +1,4 @@
|
||||||
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* iproute.c "ip route".
|
* iproute.c "ip route".
|
||||||
*
|
*
|
||||||
|
@ -62,7 +63,8 @@ static int flush_update(void)
|
||||||
return 0;
|
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;
|
FILE *fp = (FILE*)arg;
|
||||||
struct rtmsg *r = NLMSG_DATA(n);
|
struct rtmsg *r = NLMSG_DATA(n);
|
||||||
|
|
Loading…
Reference in New Issue