diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-11 01:14:27 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-11 01:14:27 +0000 |
commit | 94f77bb75b710a8f9ada241b8f3c39d5e258619a (patch) | |
tree | 80c79fce3777845e2fb099e65663c3ad2d354cbb | |
parent | 2dfb7a7a694f1ae62027d8271b82cbc0330092e3 (diff) |
Remove references to ipx_error.h; it's going to be away.
(commented it out in ipx.c by now).
-rw-r--r-- | usr.bin/netstat/ipx.c | 8 | ||||
-rw-r--r-- | usr.bin/netstat/main.c | 6 |
2 files changed, 8 insertions, 6 deletions
diff --git a/usr.bin/netstat/ipx.c b/usr.bin/netstat/ipx.c index d91a773e0d2..d3b5062a777 100644 --- a/usr.bin/netstat/ipx.c +++ b/usr.bin/netstat/ipx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipx.c,v 1.5 1998/02/27 12:07:34 deraadt Exp $ */ +/* $OpenBSD: ipx.c,v 1.6 2000/01/11 01:14:26 fgsch Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "from: @(#)ns.c 8.1 (Berkeley) 6/6/93"; #else -static char *rcsid = "$OpenBSD: ipx.c,v 1.5 1998/02/27 12:07:34 deraadt Exp $"; +static char *rcsid = "$OpenBSD: ipx.c,v 1.6 2000/01/11 01:14:26 fgsch Exp $"; #endif #endif /* not lint */ @@ -57,7 +57,9 @@ static char *rcsid = "$OpenBSD: ipx.c,v 1.5 1998/02/27 12:07:34 deraadt Exp $"; #include <netipx/ipx_pcb.h> #include <netipx/ipx.h> #include <netipx/ipx_var.h> +#ifdef IPXERRORMSGS #include <netipx/ipx_error.h> +#endif /* IPXERRORMSGS */ #include <netipx/spx.h> #include <netipx/spx_timer.h> #include <netipx/spx_var.h> @@ -255,6 +257,7 @@ ipx_stats(off, name) ANY(ipxstat.ipxs_badsum, "packet", " with bad checksums"); } +#ifdef IPXERRORMSGS static struct { u_short code; char *name; @@ -344,6 +347,7 @@ ipx_erputil(z, c) where = ipx_errnames[j].where; ANY(z, name, where); } +#endif /* IPXERRORMSGS */ static struct sockaddr_ipx ssipx = {AF_IPX}; diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 188de0b3907..178b9f63670 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.19 1999/12/08 12:30:17 itojun Exp $ */ +/* $OpenBSD: main.c,v 1.20 2000/01/11 01:14:26 fgsch Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ char copyright[] = #if 0 static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94"; #else -static char *rcsid = "$OpenBSD: main.c,v 1.19 1999/12/08 12:30:17 itojun Exp $"; +static char *rcsid = "$OpenBSD: main.c,v 1.20 2000/01/11 01:14:26 fgsch Exp $"; #endif #endif /* not lint */ @@ -222,8 +222,6 @@ struct protox ipxprotox[] = { ipx_stats, "ipx" }, { N_IPX, N_SPXSTAT, 1, ipxprotopr, spx_stats, "spx" }, - { -1, N_IPXERR, 1, 0, - ipxerr_stats, "ipx_err" }, { -1, -1, 0, 0, 0, 0 } }; |