summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/res_random.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2005-03-25 13:24:11 +0000
committerotto <otto@openbsd.org>2005-03-25 13:24:11 +0000
commitdb5b349cf7aa19c2b6169fbb65597f2e741714ab (patch)
tree3225f0ae035a80a4448da2c70fd7f41f085c275b /lib/libc/net/res_random.c
parentwhitespace (diff)
downloadwireguard-openbsd-db5b349cf7aa19c2b6169fbb65597f2e741714ab.tar.xz
wireguard-openbsd-db5b349cf7aa19c2b6169fbb65597f2e741714ab.zip
ansify. ok deraadt@ moritz@
Diffstat (limited to 'lib/libc/net/res_random.c')
-rw-r--r--lib/libc/net/res_random.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/res_random.c b/lib/libc/net/res_random.c
index b52330b3ee0..4dc1d334629 100644
--- a/lib/libc/net/res_random.c
+++ b/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_random.c,v 1.15 2003/12/12 06:57:12 itojun Exp $ */
+/* $OpenBSD: res_random.c,v 1.16 2005/03/25 13:24:12 otto Exp $ */
/*
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -122,7 +122,7 @@ pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod)
* application does not have to worry about it.
*/
static void
-res_initid()
+res_initid(void)
{
u_int16_t j, i;
int noprime = 1;
@@ -173,7 +173,7 @@ res_initid()
}
u_int
-res_randomid()
+res_randomid(void)
{
int i, n;