diff options
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; |