=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/systat/netstat.c,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/systat/netstat.c 2001/07/28 05:36:18 1.16 --- src/usr.bin/systat/netstat.c 2001/11/19 19:02:16 1.17 *************** *** 1,4 **** ! /* $OpenBSD: netstat.c,v 1.16 2001/07/28 05:36:18 pvalchev Exp $ */ /* $NetBSD: netstat.c,v 1.3 1995/06/18 23:53:07 cgd Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: netstat.c,v 1.17 2001/11/19 19:02:16 mpech Exp $ */ /* $NetBSD: netstat.c,v 1.3 1995/06/18 23:53:07 cgd Exp $ */ /*- *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)netstat.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: netstat.c,v 1.16 2001/07/28 05:36:18 pvalchev Exp $"; #endif /* not lint */ /* --- 38,44 ---- #if 0 static char sccsid[] = "@(#)netstat.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: netstat.c,v 1.17 2001/11/19 19:02:16 mpech Exp $"; #endif /* not lint */ /* *************** *** 134,140 **** closenetstat(w) WINDOW *w; { ! register struct netinfo *p; endhostent(); endnetent(); --- 134,140 ---- closenetstat(w) WINDOW *w; { ! struct netinfo *p; endhostent(); endnetent(); *************** *** 182,189 **** fetchnetstat() { struct inpcbtable pcbtable; ! register struct inpcb *head, *prev, *next; ! register struct netinfo *p; struct inpcb inpcb; struct socket sockb; struct tcpcb tcpcb; --- 182,189 ---- fetchnetstat() { struct inpcbtable pcbtable; ! struct inpcb *head, *prev, *next; ! struct netinfo *p; struct inpcb inpcb; struct socket sockb; struct tcpcb tcpcb; *************** *** 258,269 **** static void enter(inp, so, state, proto) ! register struct inpcb *inp; ! register struct socket *so; int state; char *proto; { ! register struct netinfo *p; /* * Only take exact matches, any sockets with --- 258,269 ---- static void enter(inp, so, state, proto) ! struct inpcb *inp; ! struct socket *so; int state; char *proto; { ! struct netinfo *p; /* * Only take exact matches, any sockets with *************** *** 363,369 **** void shownetstat() { ! register struct netinfo *p, *q; /* * First, delete any connections that have gone --- 363,369 ---- void shownetstat() { ! struct netinfo *p, *q; /* * First, delete any connections that have gone *************** *** 464,470 **** */ static void inetprint(in, port, proto) ! register struct in_addr *in; int port; char *proto; { --- 464,470 ---- */ static void inetprint(in, port, proto) ! struct in_addr *in; int port; char *proto; { *************** *** 492,498 **** #ifdef INET6 static void inet6print(in6, port, proto) ! register struct in6_addr *in6; int port; char *proto; { --- 492,498 ---- #ifdef INET6 static void inet6print(in6, port, proto) ! struct in6_addr *in6; int port; char *proto; { *************** *** 590,596 **** cmdnetstat(cmd, args) char *cmd, *args; { ! register struct netinfo *p; if (prefix(cmd, "all")) { aflag = !aflag; --- 590,596 ---- cmdnetstat(cmd, args) char *cmd, *args; { ! struct netinfo *p; if (prefix(cmd, "all")) { aflag = !aflag;