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 /networking | |
parent | 29e08ffcdf8de6eb57b280d587796642259fc66e (diff) |
- mark argument who of print_route as unused.
Diffstat (limited to 'networking')
-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 @@ +/* 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); |