diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-01-19 17:26:11 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-01-21 12:43:50 +0100 |
commit | e620a37064d35aea3e0273b39891069a5dec76b3 (patch) | |
tree | 9bfa707515b5c0237143a235111ec0cba2499f59 /libm | |
parent | 42303a2fc71e095e4e2c4f9caa87e05bb266c334 (diff) |
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>
Diffstat (limited to 'libm')
-rw-r--r-- | 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 b2809afc8..bc0f08e99 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; |