From 41eda41d7489a428abb46202482136a540ec23dc Mon Sep 17 00:00:00 2001 From: Ondrej Bilka Date: Mon, 11 Feb 2013 23:18:09 +0100 Subject: Add inline bsearch expansion. --- stdlib/stdlib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stdlib/stdlib.h') diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index b49a41cc5d..fa1175c028 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -756,6 +756,10 @@ extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __nonnull ((1, 2, 5)) __wur; +#ifdef __USE_EXTERN_INLINES +# include +#endif + /* Sort NMEMB elements of BASE, of SIZE bytes each, using COMPAR to perform the comparisons. */ extern void qsort (void *__base, size_t __nmemb, size_t __size, -- cgit v1.2.3