about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-28 21:38:59 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-28 21:38:59 +0000
commit061d137bd7c64e3f80ec524685c4bccf98248f58 (patch)
tree73c5167b36aa903eb50c5ffcf7a8049420b077e7 /include
parent253d0b23775e5627d0d2d9419ba51fc33addf7dd (diff)
downloadglibc-061d137bd7c64e3f80ec524685c4bccf98248f58.tar.gz
glibc-061d137bd7c64e3f80ec524685c4bccf98248f58.tar.xz
glibc-061d137bd7c64e3f80ec524685c4bccf98248f58.zip
Update.
1999-10-26  Andreas Jaeger  <aj@suse.de>

	* stdlib/msort.c: Include <alloca.h> for prototype.
	Remove K&R compatibility and _quicksort prototype.

	* stdlib/qsort.c: Make code and comments 64 bit clean; clarify
	some comments.
	Reported by Bernd Löchner <loechner@informatik.uni-kl.de>.
	Remove K&R compatibility.
	Move prototype declaration to include/stdlib.h.
	Include <alloca.h> for prototype; include <limits.h> for CHAR_BIT.

	* include/stdlib.h: Prototype declaration for _quicksort.
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 65fd2cba1f..86c0e2d38a 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -49,6 +49,10 @@ extern int __getpt (void) __THROW;
 
 extern int __add_to_environ (const char *name, const char *value,
 			     const char *combines, int replace);
+
+extern void _quicksort (void *const pbase, size_t total_elems,
+			size_t size, __compar_fn_t cmp);
+
 #endif
 #undef __Need_M_And_C