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/search/db_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/libc/search/db_local.h') diff --git a/newlib/libc/search/db_local.h b/newlib/libc/search/db_local.h index 53f9d17ff..ec621fabf 100644 --- a/newlib/libc/search/db_local.h +++ b/newlib/libc/search/db_local.h @@ -210,7 +210,7 @@ DB *dbopen(const char *, int, int, DBTYPE, const void *); #ifdef __DBINTERFACE_PRIVATE DB *__bt_open(const char *, int, int, const BTREEINFO *, int); -DB *__hash_open(const char *, int, int, const HASHINFO *, int); +DB *__hash_open(const char *, int, int, int, const HASHINFO *); DB *__rec_open(const char *, int, int, const RECNOINFO *, int); void __dbpanic(DB *dbp); #endif -- cgit v1.2.3