diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-01-12 12:08:46 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-01-12 12:08:46 +0000 |
commit | d1d23a6e674b1c43544dc99681d31b287cc521ad (patch) | |
tree | caf76d2e2a5327625b82670606604b65f4c92c57 | |
parent | 29e08ffcdf8de6eb57b280d587796642259fc66e (diff) | |
download | busybox-w32-d1d23a6e674b1c43544dc99681d31b287cc521ad.tar.gz busybox-w32-d1d23a6e674b1c43544dc99681d31b287cc521ad.tar.bz2 busybox-w32-d1d23a6e674b1c43544dc99681d31b287cc521ad.zip |
- mark argument who of print_route as unused.
-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); |