summaryrefslogtreecommitdiff
path: root/mini-gmp/tests/t-gcd.c
diff options
context:
space:
mode:
authorNiels M?ller <nisse@lysator.liu.se>2014-03-03 16:58:16 +0100
committerNiels M?ller <nisse@lysator.liu.se>2014-03-03 16:58:16 +0100
commita20045ba429af93797143a0eead323b807442f8e (patch)
treeaa845a2715433beb8ebacfa2810c6aa462bd274f /mini-gmp/tests/t-gcd.c
parent83a5807922124721e06fed7805c19e94d49f217e (diff)
downloadgmp-a20045ba429af93797143a0eead323b807442f8e.tar.gz
mini-gmp tests: Move dump function to testutils.c.
Diffstat (limited to 'mini-gmp/tests/t-gcd.c')
-rw-r--r--mini-gmp/tests/t-gcd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mini-gmp/tests/t-gcd.c b/mini-gmp/tests/t-gcd.c
index 3581bfdbc..127800029 100644
--- a/mini-gmp/tests/t-gcd.c
+++ b/mini-gmp/tests/t-gcd.c
@@ -26,14 +26,6 @@ the GNU MP Library test suite. If not, see https://www.gnu.org/licenses/. */
#define MAXBITS 400
#define COUNT 10000
-static void
-dump (const char *label, const mpz_t x)
-{
- char *buf = mpz_get_str (NULL, 16, x);
- fprintf (stderr, "%s: %s\n", label, buf);
- testfree (buf);
-}
-
/* Called when g is supposed to be gcd(a,b), and g = s a + t b. */
static int
gcdext_valid_p (const mpz_t a, const mpz_t b,