diff options
author | tege <tege@gmplib.org> | 2001-01-02 09:12:08 +0100 |
---|---|---|
committer | tege <tege@gmplib.org> | 2001-01-02 09:12:08 +0100 |
commit | 60a9f27e51047aa71f2cd7c63ab2fe9a298ca70b (patch) | |
tree | 71273e7a23cbfab82e334655eede8b0a7abc4692 /mpz/nextprime.c | |
parent | 3cda1e9cd20d980654d20732a3e0c59362e921a2 (diff) | |
download | gmp-60a9f27e51047aa71f2cd7c63ab2fe9a298ca70b.tar.gz |
Remove K&R function headers.
Diffstat (limited to 'mpz/nextprime.c')
-rw-r--r-- | mpz/nextprime.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/mpz/nextprime.c b/mpz/nextprime.c index 821abaf91..5bd011e51 100644 --- a/mpz/nextprime.c +++ b/mpz/nextprime.c @@ -1,6 +1,6 @@ /* mpz_nextprime(p,t) - compute the next prime > t and store that in p. -Copyright 1999, 2000 Free Software Foundation, Inc. +Copyright 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -23,13 +23,7 @@ MA 02111-1307, USA. */ #include "gmp-impl.h" void -#if __STDC__ mpz_nextprime (mpz_ptr p, mpz_srcptr t) -#else -mpz_nextprime (p, t) - mpz_ptr p; - mpz_srcptr t; -#endif { mpz_add_ui (p, t, 1L); while (! mpz_probab_prime_p (p, 5)) @@ -56,13 +50,7 @@ status unsigned short primes[] = #define NUMBER_OF_PRIMES 167 void -#if __STDC__ mpz_nextprime (mpz_ptr p, mpz_srcptr n) -#else -mpz_nextprime (p, n) - mpz_ptr p; - mpz_srcptr n; -#endif { mpz_t tmp; unsigned short *moduli; |