Browse Source

rename exp(onent) to _exp

    to avoid shadow warnings

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit 2b12ef1e789227cf9425ae8645e62ba7c3a7d3a9)

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer 14 years ago
parent
commit
e620a37064
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libm/s_ldexp.c

+ 2 - 2
libm/s_ldexp.c

@@ -27,11 +27,11 @@
  * does not (it does not set ERRNO).
  */
 
-double ldexp(double value, int exp)
+double ldexp(double value, int _exp)
 {
 	if (!isfinite(value) || value == 0.0)
 		return value;
-	value = scalbn(value, exp);
+	value = scalbn(value, _exp);
 	if (!isfinite(value) || value == 0.0)
 		errno = ERANGE;
 	return value;