summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/route.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-07-29 06:51:41 +0000
committercharnier <charnier@FreeBSD.org>1997-07-29 06:51:41 +0000
commite97a8f1bb5fbb72a7aba41985727d01d65f488c2 (patch)
tree9b4dedced8ce668c76ebbb68ab0eb9b082ce6199 /usr.bin/netstat/route.c
parentffd60e72c2b05f5573c8e822beeec6d4b6647ec5 (diff)
downloadFreeBSD-src-e97a8f1bb5fbb72a7aba41985727d01d65f488c2.zip
FreeBSD-src-e97a8f1bb5fbb72a7aba41985727d01d65f488c2.tar.gz
Remove prog, unused variables.
Cosmetic in usage string.
Diffstat (limited to 'usr.bin/netstat/route.c')
-rw-r--r--usr.bin/netstat/route.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index e920aaa..6eb7b21 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -36,7 +36,7 @@
static char sccsid[] = "From: @(#)route.c 8.6 (Berkeley) 4/28/95";
#endif
static const char rcsid[] =
- "$Id: route.c,v 1.26 1997/05/10 10:03:43 jhay Exp $";
+ "$Id: route.c,v 1.27 1997/05/25 08:36:20 phk Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -636,7 +636,6 @@ netname(in, mask)
struct netent *np = 0;
u_long net, omask, dmask;
register u_long i;
- int subnetshift;
i = ntohl(in);
omask = mask;
@@ -697,8 +696,6 @@ ipx_print(sa)
register struct sockaddr *sa;
{
u_short port;
- struct netent *np = 0;
- struct hostent *hp = 0;
struct servent *sp = 0;
char *net = "", *host = "";
register char *p; register u_char *q;
@@ -765,7 +762,6 @@ ipx_phost(sa)
static union ipx_net ipx_zeronet;
char *p;
struct ipx_addr in;
- struct hostent *hp;
work = *sipx;
in = work.sipx_addr;
OpenPOWER on IntegriCloud