summaryrefslogtreecommitdiff
path: root/mpz/tests/t-pow_ui.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2001-01-02 10:14:30 +0100
committertege <tege@gmplib.org>2001-01-02 10:14:30 +0100
commit21c3c1eab4bdb6cb423c6c02dcefb3ea3b35257a (patch)
tree2562239e99665332256b850974e449629174e611 /mpz/tests/t-pow_ui.c
parent3096a4a9757cd76734a4451c106cbbbddbc1e7f3 (diff)
downloadgmp-21c3c1eab4bdb6cb423c6c02dcefb3ea3b35257a.tar.gz
Remove K&R function headers.
ANSI-fy.
Diffstat (limited to 'mpz/tests/t-pow_ui.c')
-rw-r--r--mpz/tests/t-pow_ui.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/mpz/tests/t-pow_ui.c b/mpz/tests/t-pow_ui.c
index a41e0cbfd..8bb471a15 100644
--- a/mpz/tests/t-pow_ui.c
+++ b/mpz/tests/t-pow_ui.c
@@ -1,6 +1,6 @@
/* Test mpz_pow_ui and mpz_ui_pow_ui.
-Copyright 1997, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -29,9 +29,7 @@ MA 02111-1307, USA. */
void debug_mp ();
void ref_mpz_pow_ui ();
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
mpz_t base, exp;
mpz_t result, ref_result;
@@ -119,10 +117,7 @@ main (argc, argv)
}
void
-ref_mpz_pow_ui (w, u, e)
- mpz_t w;
- const mpz_t u;
- unsigned long int e;
+ref_mpz_pow_ui (mpz_t w, const mpz_t u, unsigned long int e)
{
mpz_t s, t;
unsigned long int i;
@@ -146,10 +141,7 @@ ref_mpz_pow_ui (w, u, e)
}
void
-debug_mp (str, x, base)
- char *str;
- mpz_t x;
- int base;
+debug_mp (char *str, mpz_t x, int base)
{
fprintf (stderr, "%s", str);
mpz_out_str (stderr, base, x); fputc ('\n', stderr);