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/stdlib/getenv.c | 1 - newlib/libc/stdlib/getenv_r.c | 1 - 2 files changed, 2 deletions(-) (limited to 'newlib/libc/stdlib') diff --git a/newlib/libc/stdlib/getenv.c b/newlib/libc/stdlib/getenv.c index 6e0151461..79360ac42 100644 --- a/newlib/libc/stdlib/getenv.c +++ b/newlib/libc/stdlib/getenv.c @@ -86,7 +86,6 @@ _DEFUN (getenv, (name), _CONST char *name) { int offset; - char *_findenv_r (); return _findenv_r (_REENT, name, &offset); } diff --git a/newlib/libc/stdlib/getenv_r.c b/newlib/libc/stdlib/getenv_r.c index 272b097ad..cdc12c0a9 100644 --- a/newlib/libc/stdlib/getenv_r.c +++ b/newlib/libc/stdlib/getenv_r.c @@ -130,7 +130,6 @@ _DEFUN (_getenv_r, (reent_ptr, name), _CONST char *name) { int offset; - char *_findenv_r (); return _findenv_r (reent_ptr, name, &offset); } -- cgit v1.2.3