summaryrefslogtreecommitdiff
path: root/randraw.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2001-01-02 09:23:11 +0100
committertege <tege@gmplib.org>2001-01-02 09:23:11 +0100
commitc8ed2f542a370da62a92d2e9b70b57ecfc7fdb6b (patch)
treec3012d0a2e109fc6172403c8fbc3b1923f6dc7d9 /randraw.c
parentd82b3e71f45de318ce3d2172a772ed812900170d (diff)
downloadgmp-c8ed2f542a370da62a92d2e9b70b57ecfc7fdb6b.tar.gz
Remove K&R function headers.
Diffstat (limited to 'randraw.c')
-rw-r--r--randraw.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/randraw.c b/randraw.c
index 5c89e2e8f..66fe84023 100644
--- a/randraw.c
+++ b/randraw.c
@@ -2,7 +2,7 @@
length NBITS in RP. RP must have enough space allocated to hold
NBITS.
-Copyright 1999, 2000 Free Software Foundation, Inc.
+Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -116,13 +116,7 @@ the most-significant bits. */
static
unsigned long int
-#if __STDC__
lc (mp_ptr rp, gmp_randstate_t rstate)
-#else
-lc (rp, rstate)
- mp_ptr rp;
- gmp_randstate_t rstate;
-#endif
{
mp_ptr tp, seedp, ap;
mp_size_t ta;
@@ -264,14 +258,7 @@ lc_test (mp_ptr rp, gmp_randstate_t s, const int evenbits)
#endif /* RAWRANDEBUG */
void
-#if __STDC__
_gmp_rand (mp_ptr rp, gmp_randstate_t rstate, unsigned long int nbits)
-#else
-_gmp_rand (rp, rstate, nbits)
- mp_ptr rp;
- gmp_randstate_t rstate;
- unsigned long int nbits;
-#endif
{
mp_size_t rn; /* Size of R. */