summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-26 14:47:05 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-26 14:47:05 +0000
commitdff14448f7521b27349af4e67d141aba1c9d7edd (patch)
tree2dd0d2abacdead8595ad645a34a4e5f445ccb9f9 /stdlib
parent768cbca8b5a0db079bab56ef2178c977b1ad2a34 (diff)
downloadglibc-dff14448f7521b27349af4e67d141aba1c9d7edd.tar.gz
glibc-dff14448f7521b27349af4e67d141aba1c9d7edd.tar.xz
glibc-dff14448f7521b27349af4e67d141aba1c9d7edd.zip
Update.
1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>

	* configure.in: Check for -fexceptions.
	* config.make.in: Define exceptions, not no-exceptions.
	* misc/sys/cdefs.h: Define __PMS.  When using modern g++ define
	__P to use throw().
	* misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
	$(exceptions).
	* stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
	* misc/search.h: Use __PMS in tsearch, tfind, tdelete, twalk, tdestroy,
	lfind, and lsearch prototpypes.
	* stdlib/stdlib.h: Likewise for bsearch and qsort.

1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.

1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Makefile (remove-old-headers): Make phony.

	* configure.in: Substitute @old_glibc_headers@.

1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

	* libc.map: Remove __libc_uid.

1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
	typos.

1998-06-26  Ulrich Drepper  <drepper@cygnus.com>

	* libc.map: Add Alpha-specific io function from protected namespace.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/Makefile4
-rw-r--r--stdlib/stdlib.h10
2 files changed, 9 insertions, 5 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 91eaf60cfc..2682766c35 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -67,6 +67,10 @@ distribute := $(distribute) $(mpn-headers) gen-mpn-copy fpioconst.h
 
 generated += isomac isomac.out
 
+CFLAGS-bsearch.c = $(exceptions)
+CFLAGS-msort.c = $(exceptions)
+CFLAGS-qsort.c = $(exceptions)
+
 include ../Rules
 
 
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index b0703333d1..66ea4a589a 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -604,14 +604,14 @@ 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 __P ((__const __ptr_t __key, __const __ptr_t __base,
-			     size_t __nmemb, size_t __size,
-			     __compar_fn_t __compar));
+extern __ptr_t bsearch __PMS ((__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 __P ((__ptr_t __base, size_t __nmemb, size_t __size,
-			__compar_fn_t __compar));
+extern void qsort __PMS ((__ptr_t __base, size_t __nmemb, size_t __size,
+			  __compar_fn_t __compar));
 
 
 /* Return the absolute value of X.  */