diff options
author | Yoshinobu Inoue <shin@FreeBSD.org> | 1999-12-21 11:25:30 +0000 |
---|---|---|
committer | Yoshinobu Inoue <shin@FreeBSD.org> | 1999-12-21 11:25:30 +0000 |
commit | 49302f437aee0ba413b216bcf17876bf33b2e38d (patch) | |
tree | 7260f25ae3dbf7c676287ddd33c93d68e7fee7b7 /usr.bin/netstat/route.c | |
parent | 5e4614fe9595c4b63115d32db3dec6ed108ea0b2 (diff) | |
download | src-49302f437aee0ba413b216bcf17876bf33b2e38d.tar.gz src-49302f437aee0ba413b216bcf17876bf33b2e38d.zip |
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'.
Notes
Notes:
svn path=/head/; revision=54956
Diffstat (limited to 'usr.bin/netstat/route.c')
-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 adca08a24819..1dce61556a45 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; |