diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-09-01 22:25:42 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-09-01 22:25:42 +0000 |
commit | f4189cd649c821a21b2c0cf0e87df1efdf2c24af (patch) | |
tree | 9992fc46b00839bbad1a3764ae6f2707b4046dec /include | |
parent | 13b7412dad9b976e41fc080b8cdac4f670746fa7 (diff) | |
download | src-f4189cd649c821a21b2c0cf0e87df1efdf2c24af.tar.gz src-f4189cd649c821a21b2c0cf0e87df1efdf2c24af.zip |
Notes
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 4aa372becb46..2f580dc6110d 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -82,9 +82,6 @@ extern int ___mb_cur_max(void); _Noreturn void abort(void); int abs(int) __pure2; int atexit(void (*)(void)); -#ifdef __BLOCKS__ -int atexit_b(void (^)(void)); -#endif double atof(const char *); int atoi(const char *); long atol(const char *); @@ -103,10 +100,6 @@ size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t); int mbtowc(wchar_t * __restrict, const char * __restrict, size_t); void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); -#ifdef __BLOCKS__ -void qsort_b(void *, size_t, size_t, - int (^)(const void *, const void *)); -#endif int rand(void); void *realloc(void *, size_t); void srand(unsigned); @@ -264,6 +257,11 @@ void arc4random_buf(void *, size_t); void arc4random_stir(void); __uint32_t arc4random_uniform(__uint32_t); +#ifdef __BLOCKS__ +int atexit_b(void (^)(void)); +void *bsearch_b(const void *, const void *, size_t, + size_t, int (^)(const void *, const void *)); +#endif char *getbsize(int *, long *); /* getcap(3) functions */ char *cgetcap(char *, const char *, int); @@ -289,6 +287,8 @@ const char * int heapsort(void *, size_t, size_t, int (*)(const void *, const void *)); #ifdef __BLOCKS__ int heapsort_b(void *, size_t, size_t, int (^)(const void *, const void *)); +void qsort_b(void *, size_t, size_t, + int (^)(const void *, const void *)); #endif int l64a_r(long, char *, int); int mergesort(void *, size_t, size_t, int (*)(const void *, const void *)); |