diff options
Diffstat (limited to 'networking/route.c')
-rw-r--r-- | networking/route.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/route.c b/networking/route.c index 6f945b9f8..53e3988c1 100644 --- a/networking/route.c +++ b/networking/route.c | |||
@@ -539,7 +539,7 @@ void bb_displayroutes(int noresolve, int netstatfmt) | |||
539 | 539 | ||
540 | #if ENABLE_FEATURE_IPV6 | 540 | #if ENABLE_FEATURE_IPV6 |
541 | 541 | ||
542 | static void INET6_displayroutes(int noresolve) | 542 | static void INET6_displayroutes(void) |
543 | { | 543 | { |
544 | char addr6[128], *naddr6; | 544 | char addr6[128], *naddr6; |
545 | /* In addr6x, we store both 40-byte ':'-delimited ipv6 addresses. | 545 | /* In addr6x, we store both 40-byte ':'-delimited ipv6 addresses. |
@@ -642,7 +642,7 @@ static const char tbl_verb[] ALIGN1 = | |||
642 | ; | 642 | ; |
643 | 643 | ||
644 | int route_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 644 | int route_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
645 | int route_main(int argc, char **argv) | 645 | int route_main(int argc ATTRIBUTE_UNUSED, char **argv) |
646 | { | 646 | { |
647 | unsigned opt; | 647 | unsigned opt; |
648 | int what; | 648 | int what; |
@@ -675,7 +675,7 @@ int route_main(int argc, char **argv) | |||
675 | int noresolve = (opt & ROUTE_OPT_n) ? 0x0fff : 0; | 675 | int noresolve = (opt & ROUTE_OPT_n) ? 0x0fff : 0; |
676 | #if ENABLE_FEATURE_IPV6 | 676 | #if ENABLE_FEATURE_IPV6 |
677 | if (opt & ROUTE_OPT_INET6) | 677 | if (opt & ROUTE_OPT_INET6) |
678 | INET6_displayroutes(noresolve); | 678 | INET6_displayroutes(); |
679 | else | 679 | else |
680 | #endif | 680 | #endif |
681 | bb_displayroutes(noresolve, opt & ROUTE_OPT_e); | 681 | bb_displayroutes(noresolve, opt & ROUTE_OPT_e); |