summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/ipx.c
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-06-15 01:53:05 +0000
committerassar <assar@FreeBSD.org>2001-06-15 01:53:05 +0000
commit9e34fe7efd02802c8741141cf670713ba1ade2e5 (patch)
tree666b4e33ec4d151eeee57b69cec4f8ec59d4c008 /usr.bin/netstat/ipx.c
parent376d88fdd4c1aa428ae9df56f22f7e40c7c19b0f (diff)
downloadFreeBSD-src-9e34fe7efd02802c8741141cf670713ba1ade2e5.zip
FreeBSD-src-9e34fe7efd02802c8741141cf670713ba1ade2e5.tar.gz
remove most of the warnings
Diffstat (limited to 'usr.bin/netstat/ipx.c')
-rw-r--r--usr.bin/netstat/ipx.c22
1 files changed, 6 insertions, 16 deletions
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;
OpenPOWER on IntegriCloud