about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-26 15:39:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-26 15:39:59 +0000
commit9c3a54d42ab0512bbeebe0b78e7dd743778a01a5 (patch)
tree15db857ed359ea543cbfd5cfb3376d85c1d82cdf /stdlib
parentdff14448f7521b27349af4e67d141aba1c9d7edd (diff)
downloadglibc-9c3a54d42ab0512bbeebe0b78e7dd743778a01a5.tar.gz
glibc-9c3a54d42ab0512bbeebe0b78e7dd743778a01a5.tar.xz
glibc-9c3a54d42ab0512bbeebe0b78e7dd743778a01a5.zip
Update.
	* misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
	* misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 66ea4a589a..b159866538 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -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));