Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-03-05 11:55:16 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-03-05 11:55:16 +0300
commitb73e65bb44e2bac2b3e0a7a2a9f596ccb47e05a5 (patch)
treeea53356762fe9c443a6aac111f4477427ccf6888 /newlib/libc/sys/linux
parent56fbdfab68cf4577781e8623fe4c6d13ca7ec727 (diff)
* libm/math/ef_sqrt.c: Delete unused variable sign.
* libc/stdlib/getenv.c: Delete "char *_findenv_r ();", as is not a proper prototype, and is properly prototyped in stdlib.h, anyway. * libc/stdlib/getenv_r.c: Ditto. * libc/search/hash.c: Add _DEFUN to __hash_open() declaration; add #define __DBINTERFACE_PRIVATE to activate prototypes from db_local.h. * libc/search/db_local.h: Correct __hash_open() prototype. * libc/sys/linux/cmath/math_private.h: Eliminate compiler warnings: Remove #define INFINITY (redefines from math.h); remove #define __isnanf and #define __isinff isinff.
Diffstat (limited to 'newlib/libc/sys/linux')
-rw-r--r--newlib/libc/sys/linux/cmath/math_private.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/newlib/libc/sys/linux/cmath/math_private.h b/newlib/libc/sys/linux/cmath/math_private.h
index 148376c44..3e32b29ba 100644
--- a/newlib/libc/sys/linux/cmath/math_private.h
+++ b/newlib/libc/sys/linux/cmath/math_private.h
@@ -22,15 +22,11 @@
#include <machine/weakalias.h>
#include <machine/huge_val.h>
-#define INFINITY HUGE_VALF
-
#define __nan nan
#define __isnan isnan
#define __isinf isinf
#define __copysignf copysignf
#define __copysign copysign
-#define __isnanf isnanf
-#define __isinff isinff
#define __nanf nanf
#define feraiseexcept(x) /* nothing */
#define __sincos sincos