summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/heapsort.c
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-20 20:15:44 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-20 20:15:44 +0000
commit1737b90d795e125dbcc28ae33d27ed4fe8c5e33d (patch)
treee847573f86f5cc880f14b1ec59620629dd0d51e1 /lib/libc/stdlib/heapsort.c
parent57be559e4abf337edf211ba16a09c41aa227d270 (diff)
downloadFreeBSD-src-1737b90d795e125dbcc28ae33d27ed4fe8c5e33d.zip
FreeBSD-src-1737b90d795e125dbcc28ae33d27ed4fe8c5e33d.tar.gz
Remove names from prototypes
Diffstat (limited to 'lib/libc/stdlib/heapsort.c')
-rw-r--r--lib/libc/stdlib/heapsort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/heapsort.c b/lib/libc/stdlib/heapsort.c
index 3f4a894..a7a4a26 100644
--- a/lib/libc/stdlib/heapsort.c
+++ b/lib/libc/stdlib/heapsort.c
@@ -139,10 +139,10 @@ typedef DECLARE_BLOCK(int, heapsort_block, const void *, const void *);
}
#ifdef I_AM_HEAPSORT_B
-int heapsort_b(void *vbase, size_t nmemb, size_t size, heapsort_block compar);
+int heapsort_b(void *, size_t, size_t, heapsort_block);
#else
-int heapsort(void *vbase, size_t nmemb, size_t size,
- int (*compar)(const void *, const void *));
+int heapsort(void *, size_t, size_t,
+ int (*)(const void *, const void *));
#endif
/*
* Heapsort -- Knuth, Vol. 3, page 145. Runs in O (N lg N), both average
OpenPOWER on IntegriCloud