summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/ipx.c
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-06-15 23:35:13 +0000
committerassar <assar@FreeBSD.org>2001-06-15 23:35:13 +0000
commitee746c97f9f42b279e24583560b4f0eaef1e081b (patch)
treebe8dfc77df9326b0c2d3ba9f0c53529e94f411ce /usr.bin/netstat/ipx.c
parent16333bcfca3555bf1ca7a34e59b4cf193053a97a (diff)
downloadFreeBSD-src-ee746c97f9f42b279e24583560b4f0eaef1e081b.zip
FreeBSD-src-ee746c97f9f42b279e24583560b4f0eaef1e081b.tar.gz
remove K&R support
Diffstat (limited to 'usr.bin/netstat/ipx.c')
-rw-r--r--usr.bin/netstat/ipx.c24
1 files changed, 7 insertions, 17 deletions
diff --git a/usr.bin/netstat/ipx.c b/usr.bin/netstat/ipx.c
index 973c4cf..0f2236e 100644
--- a/usr.bin/netstat/ipx.c
+++ b/usr.bin/netstat/ipx.c
@@ -71,7 +71,7 @@ struct ipxpcb ipxpcb;
struct spxpcb spxpcb;
struct socket sockb;
-static char *ipx_prpr __P((struct ipx_addr *));
+static char *ipx_prpr (struct ipx_addr *);
static int first = 1;
@@ -83,9 +83,7 @@ static int first = 1;
*/
void
-ipxprotopr(off, name)
- u_long off;
- char *name;
+ipxprotopr(u_long off, char *name)
{
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)
{
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)
{
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)
{
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