From 061d137bd7c64e3f80ec524685c4bccf98248f58 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 28 Oct 1999 21:38:59 +0000 Subject: Update. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1999-10-26 Andreas Jaeger * stdlib/msort.c: Include 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 . Remove K&R compatibility. Move prototype declaration to include/stdlib.h. Include for prototype; include for CHAR_BIT. * include/stdlib.h: Prototype declaration for _quicksort. --- include/stdlib.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 -- cgit v1.2.3