summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/res_random.c
diff options
context:
space:
mode:
authorotto <>2005-03-25 13:24:12 +0000
committerotto <>2005-03-25 13:24:12 +0000
commit2f490723a2e673b2457f65c4b06cacb7d700a3e8 (patch)
treec9dcd3a58da3f7404d9e626fe10abdd67c384fba /src/lib/libc/net/res_random.c
parent9a03506f8308b6023a12f108a2072feb958607a6 (diff)
downloadopenbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.tar.gz
openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.tar.bz2
openbsd-2f490723a2e673b2457f65c4b06cacb7d700a3e8.zip
ansify. ok deraadt@ moritz@
Diffstat (limited to 'src/lib/libc/net/res_random.c')
-rw-r--r--src/lib/libc/net/res_random.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c
index b52330b3ee..4dc1d33462 100644
--- a/src/lib/libc/net/res_random.c
+++ b/src/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_random.c,v 1.15 2003/12/12 06:57:12 itojun Exp $ */ 1/* $OpenBSD: res_random.c,v 1.16 2005/03/25 13:24:12 otto Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * 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)
122 * application does not have to worry about it. 122 * application does not have to worry about it.
123 */ 123 */
124static void 124static void
125res_initid() 125res_initid(void)
126{ 126{
127 u_int16_t j, i; 127 u_int16_t j, i;
128 int noprime = 1; 128 int noprime = 1;
@@ -173,7 +173,7 @@ res_initid()
173} 173}
174 174
175u_int 175u_int
176res_randomid() 176res_randomid(void)
177{ 177{
178 int i, n; 178 int i, n;
179 179