From 73cb72802fa39216c660314e4ec7fd713843220b Mon Sep 17 00:00:00 2001 From: vlefevre Date: Fri, 12 Jul 2019 13:31:46 +0000 Subject: Renamed MPFR_CONST_ATTR macro to MPFR_CONST_FUNCTION_ATTR in order to be similar to the MPFR_{PURE,HOT,COLD}_FUNCTION_ATTR macro names. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13527 280ebfd0-de03-0410-8827-d642c229c3f4 --- src/mpfr-impl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mpfr-impl.h') diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index fbf481996..36b8234ff 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -163,9 +163,9 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #endif #if __MPFR_GNUC(3,0) || __MPFR_ICC(8,1,0) -# define MPFR_CONST_ATTR __attribute__ ((const)) +# define MPFR_CONST_FUNCTION_ATTR __attribute__ ((const)) #else -# define MPFR_CONST_ATTR +# define MPFR_CONST_FUNCTION_ATTR #endif #if __MPFR_GNUC(3,0) || __MPFR_ICC(8,1,0) @@ -787,7 +787,7 @@ static double double_zero = 0.0; external function, hoping that the compiler will not optimize. */ # ifdef volatile __MPFR_DECLSPEC long double - __gmpfr_longdouble_volatile (long double) MPFR_CONST_ATTR; + __gmpfr_longdouble_volatile (long double) MPFR_CONST_FUNCTION_ATTR; # define LONGDOUBLE_VOLATILE(x) (__gmpfr_longdouble_volatile (x)) # define WANT_GMPFR_LONGDOUBLE_VOLATILE 1 # else -- cgit v1.2.1