aboutsummaryrefslogtreecommitdiff
path: root/src/include/plibc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/plibc.h')
-rw-r--r--src/include/plibc.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/include/plibc.h b/src/include/plibc.h
index 82079faf1..8314f2146 100644
--- a/src/include/plibc.h
+++ b/src/include/plibc.h
@@ -770,8 +770,7 @@ extern "C"
770 PLIBC_SEARCH__compar_fn_t __compar); 770 PLIBC_SEARCH__compar_fn_t __compar);
771 771
772/* Remove the element matching KEY from the tree pointed to by *ROOTP. */ 772/* Remove the element matching KEY from the tree pointed to by *ROOTP. */
773 void *_win_tdelete (__const void *__restrict __key, 773 void *_win_tdelete (__const void *__restrict __key, void **__restrict __rootp,
774 void **__restrict __rootp,
775 PLIBC_SEARCH__compar_fn_t __compar); 774 PLIBC_SEARCH__compar_fn_t __compar);
776 775
777 typedef void (*PLIBC_SEARCH__action_fn_t) (__const void *__nodep, 776 typedef void (*PLIBC_SEARCH__action_fn_t) (__const void *__nodep,
@@ -792,15 +791,13 @@ extern "C"
792 791
793/* Perform linear search for KEY by comparing by COMPAR in an array 792/* Perform linear search for KEY by comparing by COMPAR in an array
794 [BASE,BASE+NMEMB*SIZE). */ 793 [BASE,BASE+NMEMB*SIZE). */
795 void *_win_lfind (__const void *__key, __const void *__base, 794 void *_win_lfind (__const void *__key, __const void *__base, size_t * __nmemb,
796 size_t * __nmemb, size_t __size, 795 size_t __size, PLIBC_SEARCH__compar_fn_t __compar);
797 PLIBC_SEARCH__compar_fn_t __compar);
798 796
799/* Perform linear search for KEY by comparing by COMPAR function in 797/* Perform linear search for KEY by comparing by COMPAR function in
800 array [BASE,BASE+NMEMB*SIZE) and insert entry if not found. */ 798 array [BASE,BASE+NMEMB*SIZE) and insert entry if not found. */
801 void *_win_lsearch (__const void *__key, void *__base, 799 void *_win_lsearch (__const void *__key, void *__base, size_t * __nmemb,
802 size_t * __nmemb, size_t __size, 800 size_t __size, PLIBC_SEARCH__compar_fn_t __compar);
803 PLIBC_SEARCH__compar_fn_t __compar);
804 801
805 802
806#ifdef __cplusplus 803#ifdef __cplusplus