diff options
author | Bruno Haible <bruno@clisp.org> | 2007-10-07 22:10:35 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-10-07 22:10:35 +0200 |
commit | c100c6342c673e5ef9fdaa2d6a7955eeadb6ca5a (patch) | |
tree | f58ba8ad59518e66cb60b3094a36a65b98214f46 /lib/math.in.h | |
parent | 1f9ee9c2dbc965ca2e2258c7bcda420b2ba3f764 (diff) | |
download | gnulib-c100c6342c673e5ef9fdaa2d6a7955eeadb6ca5a.tar.gz |
Rename parameter 'exp' to 'expptr', to avoid gcc warnings.
Diffstat (limited to 'lib/math.in.h')
-rw-r--r-- | lib/math.in.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |