From c100c6342c673e5ef9fdaa2d6a7955eeadb6ca5a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 7 Oct 2007 22:10:35 +0200 Subject: Rename parameter 'exp' to 'expptr', to avoid gcc warnings. --- lib/math.in.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/math.in.h') diff --git a/lib/math.in.h b/lib/math.in.h index 2a3e972027..93eeb9327e 100644 --- a/lib/math.in.h +++ b/lib/math.in.h @@ -38,11 +38,11 @@ extern "C" { If x finite and nonzero: 0.5 <= |mantissa| < 1.0. If x is zero: mantissa = x, exp = 0. If x is infinite or NaN: mantissa = x, exp unspecified. - Store exp and return mantissa. */ + Store exp in *EXPPTR and return mantissa. */ #if @GNULIB_FREXP@ # if @REPLACE_FREXP@ # define frexp rpl_frexp -extern double frexp (double x, int *exp); +extern double frexp (double x, int *expptr); # endif #elif defined GNULIB_POSIXCHECK # undef frexp @@ -173,12 +173,12 @@ extern long double floorl (long double x); If x finite and nonzero: 0.5 <= |mantissa| < 1.0. If x is zero: mantissa = x, exp = 0. If x is infinite or NaN: mantissa = x, exp unspecified. - Store exp and return mantissa. */ + Store exp in *EXPPTR and return mantissa. */ #if @GNULIB_FREXPL@ && @REPLACE_FREXPL@ # define frexpl rpl_frexpl #endif #if (@GNULIB_FREXPL@ && @REPLACE_FREXPL@) || !@HAVE_DECL_FREXPL@ -extern long double frexpl (long double x, int *exp); +extern long double frexpl (long double x, int *expptr); #endif #if !@GNULIB_FREXPL@ && defined GNULIB_POSIXCHECK # undef frexpl -- cgit v1.2.1