diff options
author | shin <shin@FreeBSD.org> | 1999-12-21 11:25:30 +0000 |
---|---|---|
committer | shin <shin@FreeBSD.org> | 1999-12-21 11:25:30 +0000 |
commit | 410c84c1833938a69aa583b68beadf67c37f5d95 (patch) | |
tree | 9876ac0b8c27965f8629412ffb81ebb8afd46a94 | |
parent | dd4337b92994ef93eed91a51e7600ee9dd0c739d (diff) | |
download | FreeBSD-src-410c84c1833938a69aa583b68beadf67c37f5d95.zip FreeBSD-src-410c84c1833938a69aa583b68beadf67c37f5d95.tar.gz |
Added missing declaration for argment specification at pr_rthdr(),
caused by my previous patch, sorry.
Also, changed its var name from 'af' to 'wid_af', to avoid confusion with
global var 'af'.
-rw-r--r-- | usr.bin/netstat/route.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index adca08a..1dce615 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -233,18 +233,19 @@ pr_family(af) * Print header for routing table columns. */ void -pr_rthdr(af) +pr_rthdr(wid_af) + int wid_af; { int wid_dst, wid_gw; wid_dst = #ifdef INET6 - af == AF_INET6 ? WID_DST6 : + wid_af == AF_INET6 ? WID_DST6 : #endif WID_DST; wid_gw = #ifdef INET6 - af == AF_INET6 ? WID_GW6 : + wid_af == AF_INET6 ? WID_GW6 : #endif WID_GW; |