summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/ipx.c
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-06-15 23:07:59 +0000
committerassar <assar@FreeBSD.org>2001-06-15 23:07:59 +0000
commit6c0b683445bcb0c4262928ed96c5600046fd89c4 (patch)
tree75d441bcb4afea50330749a175f2082e2799375e /usr.bin/netstat/ipx.c
parent24963040e1372036a0dceaf98901222724f09d98 (diff)
downloadFreeBSD-src-6c0b683445bcb0c4262928ed96c5600046fd89c4.zip
FreeBSD-src-6c0b683445bcb0c4262928ed96c5600046fd89c4.tar.gz
revert removal of warning and K&R support
Requested by: bde
Diffstat (limited to 'usr.bin/netstat/ipx.c')
-rw-r--r--usr.bin/netstat/ipx.c22
1 files changed, 16 insertions, 6 deletions
diff --git a/usr.bin/netstat/ipx.c b/usr.bin/netstat/ipx.c
index 2ad24c4..973c4cf 100644
--- a/usr.bin/netstat/ipx.c
+++ b/usr.bin/netstat/ipx.c
@@ -83,7 +83,9 @@ static int first = 1;
*/
void
-ipxprotopr(u_long off, char *name, int af __unused)
+ipxprotopr(off, name)
+ u_long off;
+ char *name;
{
struct ipxpcb cb;
register struct ipxpcb *prev, *next;
@@ -159,7 +161,9 @@ ipxprotopr(u_long off, char *name, int af __unused)
* Dump SPX statistics structure.
*/
void
-spx_stats(u_long off, char *name, int af __unused)
+spx_stats(off, name)
+ u_long off;
+ char *name;
{
struct spx_istat spx_istat;
#define spxstat spx_istat.newstats
@@ -235,7 +239,9 @@ spx_stats(u_long off, char *name, int af __unused)
* Dump IPX statistics structure.
*/
void
-ipx_stats(u_long off, char *name, int af __unused)
+ipx_stats(off, name)
+ u_long off;
+ char *name;
{
struct ipxstat ipxstat;
@@ -278,7 +284,9 @@ static struct {
*/
/*ARGSUSED*/
void
-ipxerr_stats(u_long off, char *name, int af __unused)
+ipxerr_stats(off, name)
+ u_long off;
+ char *name;
{
struct ipx_errstat ipx_errstat;
register int j;
@@ -318,7 +326,8 @@ ipxerr_stats(u_long off, char *name, int af __unused)
}
static void
-ipx_erputil(int z, int c)
+ipx_erputil(z, c)
+ int z, c;
{
int j;
char codebuf[30];
@@ -346,7 +355,8 @@ ipx_erputil(int z, int c)
static struct sockaddr_ipx ssipx = {AF_IPX};
static
-char *ipx_prpr(struct ipx_addr *x)
+char *ipx_prpr(x)
+ struct ipx_addr *x;
{
struct sockaddr_ipx *sipx = &ssipx;
OpenPOWER on IntegriCloud