summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/heapsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/heapsort.c')
-rw-r--r--src/lib/libc/stdlib/heapsort.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/heapsort.c b/src/lib/libc/stdlib/heapsort.c
index bd998fa357..2770e5b977 100644
--- a/src/lib/libc/stdlib/heapsort.c
+++ b/src/lib/libc/stdlib/heapsort.c
@@ -35,8 +35,7 @@
35 */ 35 */
36 36
37#if defined(LIBC_SCCS) && !defined(lint) 37#if defined(LIBC_SCCS) && !defined(lint)
38/*static char sccsid[] = "from: @(#)heapsort.c 8.1 (Berkeley) 6/4/93";*/ 38static char *rcsid = "$OpenBSD: heapsort.c,v 1.3 2002/02/16 21:27:24 millert Exp $";
39static char *rcsid = "$Id: heapsort.c,v 1.1.1.1 1995/10/18 08:42:17 deraadt Exp $";
40#endif /* LIBC_SCCS and not lint */ 39#endif /* LIBC_SCCS and not lint */
41 40
42#include <sys/types.h> 41#include <sys/types.h>
@@ -142,7 +141,7 @@ int
142heapsort(vbase, nmemb, size, compar) 141heapsort(vbase, nmemb, size, compar)
143 void *vbase; 142 void *vbase;
144 size_t nmemb, size; 143 size_t nmemb, size;
145 int (*compar) __P((const void *, const void *)); 144 int (*compar)(const void *, const void *);
146{ 145{
147 register int cnt, i, j, l; 146 register int cnt, i, j, l;
148 register char tmp, *tmp1, *tmp2; 147 register char tmp, *tmp1, *tmp2;