summaryrefslogtreecommitdiff
path: root/mpz/pow_ui.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2001-01-02 09:12:08 +0100
committertege <tege@gmplib.org>2001-01-02 09:12:08 +0100
commit60a9f27e51047aa71f2cd7c63ab2fe9a298ca70b (patch)
tree71273e7a23cbfab82e334655eede8b0a7abc4692 /mpz/pow_ui.c
parent3cda1e9cd20d980654d20732a3e0c59362e921a2 (diff)
downloadgmp-60a9f27e51047aa71f2cd7c63ab2fe9a298ca70b.tar.gz
Remove K&R function headers.
Diffstat (limited to 'mpz/pow_ui.c')
-rw-r--r--mpz/pow_ui.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/mpz/pow_ui.c b/mpz/pow_ui.c
index ae78b9e39..b462b2f68 100644
--- a/mpz/pow_ui.c
+++ b/mpz/pow_ui.c
@@ -1,6 +1,7 @@
/* mpz_pow_ui(res, base, exp) -- Set RES to BASE**EXP.
-Copyright 1991, 1993, 1994, 1996, 1997, 2000 Free Software Foundation, Inc.
+Copyright 1991, 1993, 1994, 1996, 1997, 2000, 2001 Free Software Foundation,
+Inc.
This file is part of the GNU MP Library.
@@ -26,26 +27,11 @@ MA 02111-1307, USA. */
#include "gmp-impl.h"
#include "longlong.h"
-#ifndef BERKELEY_MP
void
-#if __STDC__
+#ifndef BERKELEY_MP
mpz_pow_ui (mpz_ptr r, mpz_srcptr b, unsigned long int e)
-#else
-mpz_pow_ui (r, b, e)
- mpz_ptr r;
- mpz_srcptr b;
- unsigned long int e;
-#endif
#else /* BERKELEY_MP */
-void
-#if __STDC__
rpow (const MINT *b, signed short int e, MINT *r)
-#else
-rpow (b, e, r)
- const MINT *b;
- signed short int e;
- MINT *r;
-#endif
#endif /* BERKELEY_MP */
{
mp_ptr rp, bp, tp, xp;