From e458144c99ddc00769ffa6bd367c21d37e879d83 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 13 Nov 2007 17:21:43 +0000 Subject: * stdlib/stdlib.h: Define __compar_d_fn_t. Declare qsort_r. * include/stdlib.h: Add hidden_proto for qsort_t and adjust protoype for _quicksort. * stdlib/msort.c (qsort): Now a wrapper around qsort_r. (qsort_r): Renamed from qsort. Take additional parameter and pass it on as third parameter to compare function and _quicksort. * stdlib/qsort.c (_quicksort): Take additional parameter and pass on to the compare function. * stdlib/Versions [libc] (GLIBC_2.8): Add qsort_r. * Versions.def: Add GLIBC_2.8 for libc. --- Versions.def | 1 + 1 file changed, 1 insertion(+) (limited to 'Versions.def') diff --git a/Versions.def b/Versions.def index af37782..0de15f8 100644 --- a/Versions.def +++ b/Versions.def @@ -24,6 +24,7 @@ libc { GLIBC_2.5 GLIBC_2.6 GLIBC_2.7 + GLIBC_2.8 %ifdef USE_IN_LIBIO HURD_CTHREADS_0.3 %endif -- cgit v1.1