summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-01-25 21:19:46 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-01-25 21:19:46 +0000
commitcc07f2350dc260a2a4eaf4ff05f32939c55a9893 (patch)
treeb898aa05768dfd221f31c489d0d01cc2d80be868 /include
parentc4685a5c3c6cef896b3ba7ccb5b628e4489fcb34 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/search.h5
-rw-r--r--include/stdlib.h3
2 files changed, 7 insertions, 1 deletions
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 <stddef.h>
+/* Get __compar_fn_t from stdlib.h */
+#include <stdlib.h>
+
__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,