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/perfpow.c | |
parent | 3cda1e9cd20d980654d20732a3e0c59362e921a2 (diff) | |
download | gmp-60a9f27e51047aa71f2cd7c63ab2fe9a298ca70b.tar.gz |
Remove K&R function headers.
Diffstat (limited to 'mpz/perfpow.c')
-rw-r--r-- | mpz/perfpow.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/mpz/perfpow.c b/mpz/perfpow.c index f3b7fcb98..0e41f873f 100644 --- a/mpz/perfpow.c +++ b/mpz/perfpow.c @@ -1,7 +1,7 @@ /* mpz_perfect_power_p(arg) -- Return non-zero if ARG is a perfect power, zero otherwise. -Copyright 1998, 1999, 2000 Free Software Foundation, Inc. +Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -64,12 +64,7 @@ static const unsigned short primes[] = int -#if __STDC__ mpz_perfect_power_p (mpz_srcptr u) -#else -mpz_perfect_power_p (u) - mpz_srcptr u; -#endif { unsigned long int prime; unsigned long int n, n2; @@ -205,12 +200,7 @@ n2prime: } static unsigned long int -#if __STDC__ gcd (unsigned long int a, unsigned long int b) -#else -gcd (a, b) - unsigned long int a, b; -#endif { int an2, bn2, n2; @@ -249,12 +239,7 @@ gcd (a, b) } static int -#if __STDC__ isprime (unsigned long int t) -#else -isprime (t) - unsigned long int t; -#endif { unsigned long int q, r, d; |