summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-07-21 19:44:33 +0000
committerderaadt <deraadt@openbsd.org>2003-07-21 19:44:33 +0000
commit3bcc1699563151e70cd7f39ce144053f87169dba (patch)
tree2c3b2f451e9c7349f5671f9545730b5b86901f95
parentuse more defines; andrushock@korovino.net (diff)
downloadwireguard-openbsd-3bcc1699563151e70cd7f39ce144053f87169dba.tar.xz
wireguard-openbsd-3bcc1699563151e70cd7f39ce144053f87169dba.zip
protos
-rw-r--r--usr.sbin/rarpd/rarpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c
index aac329231a9..1804e623e61 100644
--- a/usr.sbin/rarpd/rarpd.c
+++ b/usr.sbin/rarpd/rarpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rarpd.c,v 1.40 2003/07/21 19:44:05 deraadt Exp $ */
+/* $OpenBSD: rarpd.c,v 1.41 2003/07/21 19:44:33 deraadt Exp $ */
/* $NetBSD: rarpd.c,v 1.25 1998/04/23 02:48:33 mrg Exp $ */
/*
@@ -28,7 +28,7 @@ char copyright[] =
#endif /* not lint */
#ifndef lint
-static char rcsid[] = "$OpenBSD: rarpd.c,v 1.40 2003/07/21 19:44:05 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: rarpd.c,v 1.41 2003/07/21 19:44:33 deraadt Exp $";
#endif
@@ -525,7 +525,7 @@ rarp_bootable(u_int32_t addr)
* is on network 'net'; 'netmask' is a mask indicating the network portion
* of the address.
*/
-u_int32_t
+static u_int32_t
choose_ipaddr(u_int32_t **alist, u_int32_t net, u_int32_t netmask)
{
for (; *alist; ++alist) {