diff options
-rw-r--r-- | networking/libiproute/iproute.c | 4 |
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 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * iproute.c "ip route". | 3 | * iproute.c "ip route". |
3 | * | 4 | * |
@@ -62,7 +63,8 @@ static int flush_update(void) | |||
62 | return 0; | 63 | return 0; |
63 | } | 64 | } |
64 | 65 | ||
65 | static int print_route(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) | 66 | static int print_route(struct sockaddr_nl *who __attribute__((unused)), |
67 | struct nlmsghdr *n, void *arg) | ||
66 | { | 68 | { |
67 | FILE *fp = (FILE*)arg; | 69 | FILE *fp = (FILE*)arg; |
68 | struct rtmsg *r = NLMSG_DATA(n); | 70 | struct rtmsg *r = NLMSG_DATA(n); |