summaryrefslogtreecommitdiff
path: root/src/const_pi.c
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/const_pi.c
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/const_pi.c')
-rw-r--r--src/const_pi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/const_pi.c b/src/const_pi.c
index ad6f92184..2bb411af2 100644
--- a/src/const_pi.c
+++ b/src/const_pi.c
@@ -28,7 +28,7 @@ MPFR_DECL_INIT_CACHE(__gmpfr_cache_const_pi, mpfr_const_pi_internal);
#else
MPFR_DECL_INIT_CACHE(__gmpfr_normal_pi, mpfr_const_pi_internal);
MPFR_DECL_INIT_CACHE(__gmpfr_logging_pi, mpfr_const_pi_internal);
-mpfr_cache_ptr MPFR_THREAD_ATTR __gmpfr_cache_const_pi = __gmpfr_normal_pi;
+MPFR_THREAD_ATTR mpfr_cache_ptr __gmpfr_cache_const_pi = __gmpfr_normal_pi;
#endif
/* Set User Interface */