[git commit nptl] rename exp(onent) to _exp

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Jan 21 10:31:33 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=e620a37064d35aea3e0273b39891069a5dec76b3
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

    to avoid shadow warnings

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

Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
---
 libm/s_ldexp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libm/s_ldexp.c b/libm/s_ldexp.c
index b2809af..bc0f08e 100644
--- a/libm/s_ldexp.c
+++ b/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;
-- 
1.6.3.3



More information about the uClibc-cvs mailing list