summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/unix.c
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-06-15 01:53:05 +0000
committerassar <assar@FreeBSD.org>2001-06-15 01:53:05 +0000
commit9e34fe7efd02802c8741141cf670713ba1ade2e5 (patch)
tree666b4e33ec4d151eeee57b69cec4f8ec59d4c008 /usr.bin/netstat/unix.c
parent376d88fdd4c1aa428ae9df56f22f7e40c7c19b0f (diff)
downloadFreeBSD-src-9e34fe7efd02802c8741141cf670713ba1ade2e5.zip
FreeBSD-src-9e34fe7efd02802c8741141cf670713ba1ade2e5.tar.gz
remove most of the warnings
Diffstat (limited to 'usr.bin/netstat/unix.c')
-rw-r--r--usr.bin/netstat/unix.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c
index 8941a26..697d9e2 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()
+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;
OpenPOWER on IntegriCloud