From b73e65bb44e2bac2b3e0a7a2a9f596ccb47e05a5 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 5 Mar 2010 08:55:16 +0000 Subject: * 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. --- newlib/libc/sys/linux/cmath/math_private.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'newlib/libc/sys') 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 #include -#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 -- cgit v1.2.3