[Gmp-commit] /var/hg/gmp: mini-gmp/tests/hex-random.c (mpz_lucas_mod): Declar...
mercurial at gmplib.org
mercurial at gmplib.org
Mon Nov 12 18:58:07 UTC 2018
details: /var/hg/gmp/rev/7bc252d49b16
changeset: 17699:7bc252d49b16
user: Marco Bodrato <bodrato at mail.dm.unipi.it>
date: Mon Nov 12 19:58:01 2018 +0100
description:
mini-gmp/tests/hex-random.c (mpz_lucas_mod): Declare, instead of including gmp-impl.h
diffstat:
mini-gmp/tests/hex-random.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r ae502117754e -r 7bc252d49b16 mini-gmp/tests/hex-random.c
--- a/mini-gmp/tests/hex-random.c Mon Nov 12 18:56:03 2018 +0100
+++ b/mini-gmp/tests/hex-random.c Mon Nov 12 19:58:01 2018 +0100
@@ -29,7 +29,9 @@
#include "gmp.h"
/* FIXME: gmp-impl.h included only for mpz_lucas_mod */
-#include "gmp-impl.h"
+/* #include "gmp-impl.h" */
+#define mpz_lucas_mod __gmpz_lucas_mod
+__GMP_DECLSPEC int mpz_lucas_mod (mpz_ptr, mpz_ptr, long, mp_bitcnt_t, mpz_srcptr, mpz_ptr, mpz_ptr);
#include "hex-random.h"
More information about the gmp-commit
mailing list