From cc07f2350dc260a2a4eaf4ff05f32939c55a9893 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 25 Jan 2001 21:19:46 +0000 Subject: Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.a objects with shared uClibc; allow disabling long long support. --- include/search.h | 5 +++++ include/stdlib.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/search.h b/include/search.h index b9c8a1785..b3b498543 100644 --- a/include/search.h +++ b/include/search.h @@ -34,12 +34,17 @@ For now the file can be distributed under the LGPL. */ #define __need_NULL #include +/* Get __compar_fn_t from stdlib.h */ +#include + __BEGIN_DECLS +#if 0 #ifndef __COMPAR_FN_T #define __COMPAR_FN_T typedef int (*__compar_fn_t) __P ((__const __ptr_t, __const __ptr_t)); #endif +#endif /* for use with hsearch(3) */ diff --git a/include/stdlib.h b/include/stdlib.h index 18a32e62f..54c2a6fa7 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -93,7 +93,8 @@ extern int setenv __P ((__const char *__name, __const char *__value, extern int system __P ((__const char *__command)); extern void unsetenv __P ((__const char *__name)); - +/* The following is used by uClibc in atexit.c and sysconf.c */ +#define __UCLIBC_MAX_ATEXIT 20 /* Search and sort functions */ extern __ptr_t bsearch __P ((__const __ptr_t __key, __const __ptr_t __base, -- cgit v1.2.3