diff options
author | assar <assar@FreeBSD.org> | 2001-06-15 23:07:59 +0000 |
---|---|---|
committer | assar <assar@FreeBSD.org> | 2001-06-15 23:07:59 +0000 |
commit | 6c0b683445bcb0c4262928ed96c5600046fd89c4 (patch) | |
tree | 75d441bcb4afea50330749a175f2082e2799375e /usr.bin/netstat/unix.c | |
parent | 24963040e1372036a0dceaf98901222724f09d98 (diff) | |
download | FreeBSD-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/unix.c')
-rw-r--r-- | usr.bin/netstat/unix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c index 697d9e2..8941a26 100644 --- a/usr.bin/netstat/unix.c +++ b/usr.bin/netstat/unix.c @@ -68,7 +68,7 @@ static const char *const socktype[] = { "#0", "stream", "dgram", "raw", "rdm", "seqpacket" }; void -unixpr(void) +unixpr() { char *buf; int type; @@ -126,7 +126,9 @@ unixpr(void) } static void -unixdomainpr(struct xunpcb *xunp, struct xsocket *so) +unixdomainpr(xunp, so) + struct xunpcb *xunp; + struct xsocket *so; { struct unpcb *unp; struct sockaddr_un *sa; |