X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=blobdiff_plain;f=misc%2Fsearch.h;h=2e11d8fb1c01a6e69e7dc8fa77530e0fe86727ac;hp=a1ebd24ebdaf0a5bab72a099e8e4b5b11c6c5a13;hb=94bb2a99161a8ff2dead7f10d31442d5800a51e6;hpb=a04838d4e577e54fbc1fe4fdec3bf9715185287a diff --git a/misc/search.h b/misc/search.h index a1ebd24ebd..2e11d8fb1c 100644 --- a/misc/search.h +++ b/misc/search.h @@ -51,7 +51,7 @@ extern void remque __P ((void *__elem)); /* For use with hsearch(3). */ #ifndef __COMPAR_FN_T # define __COMPAR_FN_T -typedef int (*__compar_fn_t) __P ((__const __ptr_t, __const __ptr_t)); +typedef int (*__compar_fn_t) __PMT ((__const __ptr_t, __const __ptr_t)); # ifdef __USE_GNU typedef __compar_fn_t comparison_fn_t; @@ -147,9 +147,9 @@ extern void *tdelete __PMT ((__const void *__key, void **__rootp, #ifndef __ACTION_FN_T # define __ACTION_FN_T -typedef void (*__action_fn_t) __P ((__const void *__nodep, - VISIT __value, - int __level)); +typedef void (*__action_fn_t) __PMT ((__const void *__nodep, + VISIT __value, + int __level)); #endif /* Walk through the whole tree and call the ACTION callback for every node