From 9e34fe7efd02802c8741141cf670713ba1ade2e5 Mon Sep 17 00:00:00 2001 From: assar Date: Fri, 15 Jun 2001 01:53:05 +0000 Subject: remove most of the warnings --- usr.bin/netstat/ipx.c | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) (limited to 'usr.bin/netstat/ipx.c') diff --git a/usr.bin/netstat/ipx.c b/usr.bin/netstat/ipx.c index 973c4cf..2ad24c4 100644 --- a/usr.bin/netstat/ipx.c +++ b/usr.bin/netstat/ipx.c @@ -83,9 +83,7 @@ static int first = 1; */ void -ipxprotopr(off, name) - u_long off; - char *name; +ipxprotopr(u_long off, char *name, int af __unused) { struct ipxpcb cb; register struct ipxpcb *prev, *next; @@ -161,9 +159,7 @@ ipxprotopr(off, name) * Dump SPX statistics structure. */ void -spx_stats(off, name) - u_long off; - char *name; +spx_stats(u_long off, char *name, int af __unused) { struct spx_istat spx_istat; #define spxstat spx_istat.newstats @@ -239,9 +235,7 @@ spx_stats(off, name) * Dump IPX statistics structure. */ void -ipx_stats(off, name) - u_long off; - char *name; +ipx_stats(u_long off, char *name, int af __unused) { struct ipxstat ipxstat; @@ -284,9 +278,7 @@ static struct { */ /*ARGSUSED*/ void -ipxerr_stats(off, name) - u_long off; - char *name; +ipxerr_stats(u_long off, char *name, int af __unused) { struct ipx_errstat ipx_errstat; register int j; @@ -326,8 +318,7 @@ ipxerr_stats(off, name) } static void -ipx_erputil(z, c) - int z, c; +ipx_erputil(int z, int c) { int j; char codebuf[30]; @@ -355,8 +346,7 @@ ipx_erputil(z, c) static struct sockaddr_ipx ssipx = {AF_IPX}; static -char *ipx_prpr(x) - struct ipx_addr *x; +char *ipx_prpr(struct ipx_addr *x) { struct sockaddr_ipx *sipx = &ssipx; -- cgit v1.1