diff options
-rw-r--r-- | constant.c | 9 | ||||
-rw-r--r-- | mpfr-impl.h | 6 |
2 files changed, 6 insertions, 9 deletions
diff --git a/constant.c b/constant.c index b5209654c..7f660b4ef 100644 --- a/constant.c +++ b/constant.c @@ -22,9 +22,6 @@ MA 02110-1301, USA. */ #include "mpfr-impl.h" static const mp_limb_t __gmpfr_limb1[1] = {MPFR_LIMB_HIGHBIT}; -const MPFR_THREAD_ATTR mpfr_t __gmpfr_one = - {{2, MPFR_SIGN_POS, 1, (mp_limb_t*)__gmpfr_limb1}}; -const MPFR_THREAD_ATTR mpfr_t __gmpfr_two = - {{2, MPFR_SIGN_POS, 2, (mp_limb_t*)__gmpfr_limb1}}; -const MPFR_THREAD_ATTR mpfr_t __gmpfr_four = - {{2, MPFR_SIGN_POS, 3, (mp_limb_t*)__gmpfr_limb1}}; +const mpfr_t __gmpfr_one = {{2, MPFR_SIGN_POS, 1, (mp_limb_t*)__gmpfr_limb1}}; +const mpfr_t __gmpfr_two = {{2, MPFR_SIGN_POS, 2, (mp_limb_t*)__gmpfr_limb1}}; +const mpfr_t __gmpfr_four ={{2, MPFR_SIGN_POS, 3, (mp_limb_t*)__gmpfr_limb1}}; diff --git a/mpfr-impl.h b/mpfr-impl.h index d66c5d540..e519d1145 100644 --- a/mpfr-impl.h +++ b/mpfr-impl.h @@ -198,9 +198,9 @@ __MPFR_DECLSPEC extern MPFR_THREAD_ATTR mpfr_cache_t __gmpfr_cache_const_log2; __MPFR_DECLSPEC extern MPFR_THREAD_ATTR mpfr_cache_t __gmpfr_cache_const_euler; __MPFR_DECLSPEC extern MPFR_THREAD_ATTR mpfr_cache_t __gmpfr_cache_const_catalan; -__MPFR_DECLSPEC extern MPFR_THREAD_ATTR const mpfr_t __gmpfr_one; -__MPFR_DECLSPEC extern MPFR_THREAD_ATTR const mpfr_t __gmpfr_two; -__MPFR_DECLSPEC extern MPFR_THREAD_ATTR const mpfr_t __gmpfr_four; +__MPFR_DECLSPEC extern const mpfr_t __gmpfr_one; +__MPFR_DECLSPEC extern const mpfr_t __gmpfr_two; +__MPFR_DECLSPEC extern const mpfr_t __gmpfr_four; #if defined (__cplusplus) |