diff options
author | 2013-11-12 19:47:52 +0000 | |
---|---|---|
committer | 2013-11-12 19:47:52 +0000 | |
commit | ffa0ebfe3607e6dede4e26ddc8236e0a8045d6ea (patch) | |
tree | 15706787a6098f320abe62b5fa0678b71d7491e2 | |
parent | missing protos (diff) | |
download | wireguard-openbsd-ffa0ebfe3607e6dede4e26ddc8236e0a8045d6ea.tar.xz wireguard-openbsd-ffa0ebfe3607e6dede4e26ddc8236e0a8045d6ea.zip |
handle lack of prototype
-rw-r--r-- | usr.sbin/identd/identd.c | 4 | ||||
-rw-r--r-- | usr.sbin/rarpd/arptab.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/identd/identd.c b/usr.sbin/identd/identd.c index 437f8cbd7e6..581aef70654 100644 --- a/usr.sbin/identd/identd.c +++ b/usr.sbin/identd/identd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: identd.c,v 1.21 2013/10/24 02:55:50 deraadt Exp $ */ +/* $OpenBSD: identd.c,v 1.22 2013/11/12 19:47:52 deraadt Exp $ */ /* * Copyright (c) 2013 David Gwynne <dlg@openbsd.org> @@ -175,7 +175,7 @@ const struct loggers *logger = &conslogger; #define sa(_ss) ((struct sockaddr *)(_ss)) -__dead void +static __dead void usage(void) { extern char *__progname; diff --git a/usr.sbin/rarpd/arptab.c b/usr.sbin/rarpd/arptab.c index b038cda0cfa..87fd7686faf 100644 --- a/usr.sbin/rarpd/arptab.c +++ b/usr.sbin/rarpd/arptab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arptab.c,v 1.21 2013/08/15 13:43:33 bluhm Exp $ */ +/* $OpenBSD: arptab.c,v 1.22 2013/11/12 19:49:42 deraadt Exp $ */ /* * Copyright (c) 1984, 1993 @@ -65,7 +65,7 @@ static pid_t pid; static int s = -1; -void +static void getsocket(void) { s = socket(PF_ROUTE, SOCK_RAW, 0); |