mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Add inline bsearch expansion.
This commit is contained in:
@ -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 <bits/stdlib-bsearch.h>
|
||||
#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,
|
||||
|
Reference in New Issue
Block a user