diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-12-07 00:33:21 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-12-07 00:33:21 +0100 |
commit | cab138e1ec1f4f02e5a357e730fde1dfe1a7f2c0 (patch) | |
tree | 798df5f6c22bfe097a230b7ca788731ffb6ce423 /gmp-impl.h | |
parent | a5d91b6097128ac297e8f40d95e0522c853b5b09 (diff) | |
download | gmp-cab138e1ec1f4f02e5a357e730fde1dfe1a7f2c0.tar.gz |
* gmp-h.in, mp-h.in, gmp-impl.h: __GMP_DECLSPEC at start of
prototypes, for the benefit of Microsoft C.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r-- | gmp-impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gmp-impl.h b/gmp-impl.h index 59637fb7a..c0171b856 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -552,7 +552,7 @@ void mpz_n_pow_ui _PROTO ((mpz_ptr, mp_srcptr, mp_size_t, unsigned long)); typedef __gmp_randstate_struct *gmp_randstate_ptr; #define _gmp_rand __gmp_rand -void __GMP_DECLSPEC _gmp_rand _PROTO ((mp_ptr, gmp_randstate_t, unsigned long int)); +__GMP_DECLSPEC void _gmp_rand _PROTO ((mp_ptr, gmp_randstate_t, unsigned long int)); /* __gmp_rands is the global state for the old-style random functions, and @@ -567,8 +567,8 @@ void __GMP_DECLSPEC _gmp_rand _PROTO ((mp_ptr, gmp_randstate_t, unsigned long in functions are recommended to applications which care about randomness, so the old functions aren't too important. */ -extern char __GMP_DECLSPEC __gmp_rands_initialized; -extern gmp_randstate_t __GMP_DECLSPEC __gmp_rands; +__GMP_DECLSPEC extern char __gmp_rands_initialized; +__GMP_DECLSPEC extern gmp_randstate_t __gmp_rands; #define RANDS \ ((__gmp_rands_initialized ? 0 \ @@ -1666,7 +1666,7 @@ mp_limb_t mpn_modexact_1_odd _PROTO ((mp_srcptr src, mp_size_t size, Some bit twiddling could very likely give a 4-bit inverse to start too. */ #define modlimb_invert_table __gmp_modlimb_invert_table -extern const unsigned char __GMP_DECLSPEC modlimb_invert_table[128]; +__GMP_DECLSPEC extern const unsigned char modlimb_invert_table[128]; #if BITS_PER_MP_LIMB <= 8 #define modlimb_invert(inv,n) \ |