diff options
author | 2002-02-16 21:27:05 +0000 | |
---|---|---|
committer | 2002-02-16 21:27:05 +0000 | |
commit | c72b5b24e14c03dd8b22104fbae0d3921fa2aa37 (patch) | |
tree | 1ac67aab11df5f96856c0e3015d691db7dc9e811 /lib/libc/net/res_random.c | |
parent | default to rsa keyfile path for non key generation operations where (diff) | |
download | wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.tar.xz wireguard-openbsd-c72b5b24e14c03dd8b22104fbae0d3921fa2aa37.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 'lib/libc/net/res_random.c')
-rw-r--r-- | lib/libc/net/res_random.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/res_random.c b/lib/libc/net/res_random.c index a11241246d1..6a6a142e96b 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.9 2001/01/04 21:45:31 todd Exp $ */ +/* $OpenBSD: res_random.c,v 1.10 2002/02/16 21:27:23 millert Exp $ */ /* * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> @@ -92,8 +92,8 @@ static long ru_reseed; static u_int32_t tmp; /* Storage for unused random */ static struct timeval tv; -static u_int16_t pmod __P((u_int16_t, u_int16_t, u_int16_t)); -static void res_initid __P((void)); +static u_int16_t pmod(u_int16_t, u_int16_t, u_int16_t); +static void res_initid(void); /* * Do a fast modular exponation, returned value will be in the range |