diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-11-13 17:21:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-11-13 17:21:43 +0000 |
commit | e458144c99ddc00769ffa6bd367c21d37e879d83 (patch) | |
tree | 55e549e9ab2672a3ebf613ca698f622c97aece8c /stdlib/Versions | |
parent | bd63f380d8760a643dfa17d1907692f39e63195e (diff) | |
download | glibc-e458144c99ddc00769ffa6bd367c21d37e879d83.tar.gz glibc-e458144c99ddc00769ffa6bd367c21d37e879d83.tar.xz glibc-e458144c99ddc00769ffa6bd367c21d37e879d83.zip |
* 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.
Diffstat (limited to 'stdlib/Versions')
-rw-r--r-- | stdlib/Versions | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/Versions b/stdlib/Versions index 9cc3b6d023..f4a90c9d69 100644 --- a/stdlib/Versions +++ b/stdlib/Versions @@ -94,6 +94,9 @@ libc { # Silent change in SUS. realpath; } + GLIBC_2.8 { + qsort_r; + } GLIBC_PRIVATE { # functions which have an additional interface since they are # are cancelable. |