diff options
author | millert <> | 2002-02-16 21:27:50 +0000 |
---|---|---|
committer | millert <> | 2002-02-16 21:27:50 +0000 |
commit | 052e020be6be85be6238c44b8386a61f8db7b6a4 (patch) | |
tree | 4cf8f905bd37027527533678516a258fa89e2696 /src/lib/libc/net/res_random.c | |
parent | ee0af55ed65515812050f3b9a8d431c941b73eb8 (diff) | |
download | openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.gz openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.tar.bz2 openbsd-052e020be6be85be6238c44b8386a61f8db7b6a4.zip |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'src/lib/libc/net/res_random.c')
-rw-r--r-- | src/lib/libc/net/res_random.c | 6 |
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 a11241246d..6a6a142e96 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.9 2001/01/04 21:45:31 todd Exp $ */ | 1 | /* $OpenBSD: res_random.c,v 1.10 2002/02/16 21:27:23 millert 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> |
@@ -92,8 +92,8 @@ static long ru_reseed; | |||
92 | static u_int32_t tmp; /* Storage for unused random */ | 92 | static u_int32_t tmp; /* Storage for unused random */ |
93 | static struct timeval tv; | 93 | static struct timeval tv; |
94 | 94 | ||
95 | static u_int16_t pmod __P((u_int16_t, u_int16_t, u_int16_t)); | 95 | static u_int16_t pmod(u_int16_t, u_int16_t, u_int16_t); |
96 | static void res_initid __P((void)); | 96 | static void res_initid(void); |
97 | 97 | ||
98 | /* | 98 | /* |
99 | * Do a fast modular exponation, returned value will be in the range | 99 | * Do a fast modular exponation, returned value will be in the range |