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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Jan 21 08:14:30 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=2b12ef1e789227cf9425ae8645e62ba7c3a7d3a9
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

    to avoid shadow warnings

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.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