diff options
author | tege <tege@gmplib.org> | 2001-01-03 01:24:36 +0100 |
---|---|---|
committer | tege <tege@gmplib.org> | 2001-01-03 01:24:36 +0100 |
commit | 336f03ff5b4e4981f7a30bb09b04eb288fff265f (patch) | |
tree | 7d0ed133fda88c82d080ca8bc5d43ccae04892aa /mpz/tests | |
parent | 5172f786999d21bf0d6a7874a4a77aa5bc072628 (diff) | |
download | gmp-336f03ff5b4e4981f7a30bb09b04eb288fff265f.tar.gz |
(dump_abort): Provide prototype and declare properly for C++.
(debug_mp): Provide prototype.
Diffstat (limited to 'mpz/tests')
-rw-r--r-- | mpz/tests/t-powm.c | 4 | ||||
-rw-r--r-- | mpz/tests/t-powm_ui.c | 4 | ||||
-rw-r--r-- | mpz/tests/t-sqrtrem.c | 4 | ||||
-rw-r--r-- | mpz/tests/t-tdiv.c | 4 | ||||
-rw-r--r-- | mpz/tests/t-tdiv_ui.c | 4 |
5 files changed, 15 insertions, 5 deletions
diff --git a/mpz/tests/t-powm.c b/mpz/tests/t-powm.c index fbcfb5850..a218b3233 100644 --- a/mpz/tests/t-powm.c +++ b/mpz/tests/t-powm.c @@ -27,7 +27,8 @@ MA 02111-1307, USA. */ #include "gmp.h" #include "gmp-impl.h" -void debug_mp (); +void dump_abort _PROTO ((mpz_t, mpz_t)); +void debug_mp _PROTO ((mpz_t, int)); main (int argc, char **argv) { @@ -139,6 +140,7 @@ main (int argc, char **argv) exit (0); } +void dump_abort (mpz_t dividend, mpz_t divisor) { fprintf (stderr, "ERROR\n"); diff --git a/mpz/tests/t-powm_ui.c b/mpz/tests/t-powm_ui.c index e1b98f033..d3bc7b172 100644 --- a/mpz/tests/t-powm_ui.c +++ b/mpz/tests/t-powm_ui.c @@ -26,7 +26,8 @@ MA 02111-1307, USA. */ #include "gmp.h" #include "gmp-impl.h" -void debug_mp (); +void dump_abort _PROTO ((mpz_t, mpz_t)); +void debug_mp _PROTO ((mpz_t, int)); main (int argc, char **argv) { @@ -135,6 +136,7 @@ main (int argc, char **argv) exit (0); } +void dump_abort (mpz_t dividend, mpz_t divisor) { fprintf (stderr, "ERROR\n"); diff --git a/mpz/tests/t-sqrtrem.c b/mpz/tests/t-sqrtrem.c index b5e806146..868ab7797 100644 --- a/mpz/tests/t-sqrtrem.c +++ b/mpz/tests/t-sqrtrem.c @@ -26,7 +26,8 @@ MA 02111-1307, USA. */ #include "gmp.h" #include "gmp-impl.h" -void debug_mp (); +void dump_abort _PROTO ((mpz_t, mpz_t, mpz_t)); +void debug_mp _PROTO ((mpz_t, int)); main (int argc, char **argv) { @@ -100,6 +101,7 @@ main (int argc, char **argv) exit (0); } +void dump_abort (mpz_t x2, mpz_t x, mpz_t rem) { fprintf (stderr, "ERROR\n"); diff --git a/mpz/tests/t-tdiv.c b/mpz/tests/t-tdiv.c index e4cf0bd03..6c6e53841 100644 --- a/mpz/tests/t-tdiv.c +++ b/mpz/tests/t-tdiv.c @@ -27,7 +27,8 @@ MA 02111-1307, USA. */ #include "gmp.h" #include "gmp-impl.h" -void debug_mp (); +void dump_abort _PROTO ((mpz_t, mpz_t)); +void debug_mp _PROTO ((mpz_t, int)); main (int argc, char **argv) { @@ -132,6 +133,7 @@ main (int argc, char **argv) exit (0); } +void dump_abort (mpz_t dividend, mpz_t divisor) { fprintf (stderr, "ERROR\n"); diff --git a/mpz/tests/t-tdiv_ui.c b/mpz/tests/t-tdiv_ui.c index b7a5d3632..0a7a04b3e 100644 --- a/mpz/tests/t-tdiv_ui.c +++ b/mpz/tests/t-tdiv_ui.c @@ -27,7 +27,8 @@ MA 02111-1307, USA. */ #include "gmp.h" #include "gmp-impl.h" -void debug_mp (); +void dump_abort _PROTO ((mpz_t, mp_limb_t)); +void debug_mp _PROTO ((mpz_t, int)); main (int argc, char **argv) { @@ -128,6 +129,7 @@ main (int argc, char **argv) exit (0); } +void dump_abort (mpz_t dividend, mp_limb_t divisor) { fprintf (stderr, "ERROR\n"); |