diff options
author | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-11-19 14:25:17 +0000 |
---|---|---|
committer | thevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-11-19 14:25:17 +0000 |
commit | 6e70a23c6079051f42c512e3ee66662c8f8d2410 (patch) | |
tree | ef624b10995e90aaab5ecb519d8e27cc7f003fcd /tests/mpc-tests.h | |
parent | ad04500d18171f9c3baa179174d8cecfd9075e55 (diff) | |
download | mpc-6e70a23c6079051f42c512e3ee66662c8f8d2410.tar.gz |
tests/mpc-tests.h: declare global random seed variables as extern (they are defined and set in random.c).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@342 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/mpc-tests.h')
-rw-r--r-- | tests/mpc-tests.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mpc-tests.h b/tests/mpc-tests.h index 04d1710..1945de2 100644 --- a/tests/mpc-tests.h +++ b/tests/mpc-tests.h @@ -38,8 +38,8 @@ MA 02111-1307, USA. */ - use test_default_random (or use your random functions with gmp_randstate_t rands) in your tests - add test_end at the end the test function */ -gmp_randstate_t rands; -char rands_initialized; +extern gmp_randstate_t rands; +extern char rands_initialized; void test_start (void); void test_end (void); |