summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/unix.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-02-01 01:51:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-02-01 01:51:32 +0000
commitd37545996269bdd7c355f84cf61256720a3957b2 (patch)
tree6cb3b0dc815585ff8059e2b134485bf3dde7e1e8 /usr.bin/netstat/unix.c
parent008b743045938d851a91ad089652bef3944a3ede (diff)
ansi
Diffstat (limited to 'usr.bin/netstat/unix.c')
-rw-r--r--usr.bin/netstat/unix.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c
index 63cc2c43014..5f69eedb3e1 100644
--- a/usr.bin/netstat/unix.c
+++ b/usr.bin/netstat/unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unix.c,v 1.8 2002/02/16 21:27:50 millert Exp $ */
+/* $OpenBSD: unix.c,v 1.9 2003/02/01 01:51:31 deraadt Exp $ */
/* $NetBSD: unix.c,v 1.13 1995/10/03 21:42:48 thorpej Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)unix.c 8.1 (Berkeley) 6/6/93";
#else
-static char *rcsid = "$OpenBSD: unix.c,v 1.8 2002/02/16 21:27:50 millert Exp $";
+static char *rcsid = "$OpenBSD: unix.c,v 1.9 2003/02/01 01:51:31 deraadt Exp $";
#endif
#endif /* not lint */
@@ -73,8 +73,7 @@ static int nfiles;
extern kvm_t *kvmd;
void
-unixpr(off)
- u_long off;
+unixpr(u_long off)
{
struct file *fp;
struct socket sock, *so = &sock;
@@ -104,9 +103,7 @@ static char *socktype[] =
{ "#0", "stream", "dgram", "raw", "rdm", "seqpacket" };
static void
-unixdomainpr(so, soaddr)
- struct socket *so;
- caddr_t soaddr;
+unixdomainpr(struct socket *so, caddr_t soaddr)
{
struct unpcb unpcb, *unp = &unpcb;
struct mbuf mbuf, *m;