Browse Source

rename exp(onent) to _exp

    to avoid shadow warnings

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 14 năm trước cách đây
mục cha
commit
2b12ef1e78
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;