From 3c4b3f0c500ab6b3e8bd2ab5b555c68499211ca4 Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 10 Sep 2002 02:02:49 +0000 Subject: Without fixing the namespace issues, add prototypes for the new _Exit() and qsort_r() functions. Fix one other missorted declaration. --- include/stdlib.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h index 1569f71..0449dc1 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -92,6 +92,7 @@ extern int __mb_cur_max; #define MB_CUR_MAX __mb_cur_max __BEGIN_DECLS +void _Exit(int) __dead2; void abort(void) __dead2; int abs(int) __pure2; int atexit(void (*)(void)); @@ -181,16 +182,18 @@ long long lldiv_t lldiv(long long, long long) __pure2; #endif int mergesort(void *, size_t, size_t, int (*)(const void *, const void *)); +void qsort_r(void *, size_t, size_t, void *, + int (*)(void *, const void *, const void *)); int radixsort(const unsigned char **, int, const unsigned char *, unsigned); -int sradixsort(const unsigned char **, int, const unsigned char *, - unsigned); int rand_r(unsigned *); long random(void); void *reallocf(void *, size_t); char *realpath(const char *, char resolved_path[]); void setprogname(const char *); char *setstate(char *); +int sradixsort(const unsigned char **, int, const unsigned char *, + unsigned); void sranddev(void); void srandom(unsigned long); void srandomdev(void); -- cgit v1.1