mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Update.
* misc/sys/cdefs.h: Define __PMT. When using modern g++ define * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
This commit is contained in:
@ -604,13 +604,13 @@ typedef __compar_fn_t comparison_fn_t;
|
||||
|
||||
/* Do a binary search for KEY in BASE, which consists of NMEMB elements
|
||||
of SIZE bytes each, using COMPAR to perform the comparisons. */
|
||||
extern __ptr_t bsearch __PMS ((__const __ptr_t __key, __const __ptr_t __base,
|
||||
extern __ptr_t bsearch __PMT ((__const __ptr_t __key, __const __ptr_t __base,
|
||||
size_t __nmemb, size_t __size,
|
||||
__compar_fn_t __compar));
|
||||
|
||||
/* Sort NMEMB elements of BASE, of SIZE bytes each,
|
||||
using COMPAR to perform the comparisons. */
|
||||
extern void qsort __PMS ((__ptr_t __base, size_t __nmemb, size_t __size,
|
||||
extern void qsort __PMT ((__ptr_t __base, size_t __nmemb, size_t __size,
|
||||
__compar_fn_t __compar));
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user