diff options
author | assar <assar@FreeBSD.org> | 2001-06-15 23:35:13 +0000 |
---|---|---|
committer | assar <assar@FreeBSD.org> | 2001-06-15 23:35:13 +0000 |
commit | ee746c97f9f42b279e24583560b4f0eaef1e081b (patch) | |
tree | be8dfc77df9326b0c2d3ba9f0c53529e94f411ce /usr.bin/netstat/unix.c | |
parent | 16333bcfca3555bf1ca7a34e59b4cf193053a97a (diff) | |
download | FreeBSD-src-ee746c97f9f42b279e24583560b4f0eaef1e081b.zip FreeBSD-src-ee746c97f9f42b279e24583560b4f0eaef1e081b.tar.gz |
remove K&R support
Diffstat (limited to 'usr.bin/netstat/unix.c')
-rw-r--r-- | usr.bin/netstat/unix.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c index 8941a26..abc2a5d 100644 --- a/usr.bin/netstat/unix.c +++ b/usr.bin/netstat/unix.c @@ -62,13 +62,13 @@ static const char rcsid[] = #include <kvm.h> #include "netstat.h" -static void unixdomainpr __P((struct xunpcb *, struct xsocket *)); +static void unixdomainpr (struct xunpcb *, struct xsocket *); static const char *const socktype[] = { "#0", "stream", "dgram", "raw", "rdm", "seqpacket" }; void -unixpr() +unixpr(void) { char *buf; int type; @@ -126,9 +126,7 @@ unixpr() } static void -unixdomainpr(xunp, so) - struct xunpcb *xunp; - struct xsocket *so; +unixdomainpr(struct xunpcb *xunp, struct xsocket *so) { struct unpcb *unp; struct sockaddr_un *sa; |