]> git.saurik.com Git - apple/libc.git/blob - stdlib/FreeBSD/heapsort_b.c.patch
Libc-763.11.tar.gz
[apple/libc.git] / stdlib / FreeBSD / heapsort_b.c.patch
1 --- heapsort_b.c.orig 2008-09-24 13:48:45.000000000 -0700
2 +++ heapsort_b.c 2008-09-24 13:48:56.000000000 -0700
3 @@ -136,10 +136,10 @@ __FBSDID("$FreeBSD: src/lib/libc/stdlib/
4 * only advantage over quicksort is that it requires little additional memory.
5 */
6 int
7 -heapsort(vbase, nmemb, size, compar)
8 +heapsort_b(vbase, nmemb, size, compar)
9 void *vbase;
10 size_t nmemb, size;
11 - int (*compar)(const void *, const void *);
12 + int (^compar)(const void *, const void *);
13 {
14 size_t cnt, i, j, l;
15 char tmp, *tmp1, *tmp2;