summaryrefslogtreecommitdiff
path: root/src/mpfr-impl.h
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-03 20:57:13 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2014-01-03 20:57:13 +0000
commitf8da0cef2787c15c7e83818d55c499ee965f9d85 (patch)
tree548aefb7671b36dc7b5edfe11d72b1f6c5f2bb65 /src/mpfr-impl.h
parent6106c0bb3b691aef5ef81bc9b247d3aaa107f287 (diff)
downloadmpfr-f8da0cef2787c15c7e83818d55c499ee965f9d85.tar.gz
Fixed warnings from GCC's -Wold-style-declaration option:
MPFR_THREAD_ATTR must be at beginning of declaration. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8725 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r--src/mpfr-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h
index a24e0f666..d3aced138 100644
--- a/src/mpfr-impl.h
+++ b/src/mpfr-impl.h
@@ -1047,7 +1047,7 @@ typedef union { mp_size_t s; mp_limb_t l; } mpfr_size_limb_t;
#define mpfr_const_catalan(_d,_r) mpfr_cache(_d,__gmpfr_cache_const_catalan,_r)
#define MPFR_DECL_INIT_CACHE(_cache,_func) \
- mpfr_cache_t MPFR_THREAD_ATTR _cache = \
+ MPFR_THREAD_ATTR mpfr_cache_t _cache = \
{{{{0,MPFR_SIGN_POS,0,(mp_limb_t*)0}},0,_func}}