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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/heapsort.c b/src/lib/libc/stdlib/heapsort.c
index e3e4392e05..2770e5b977 100644
--- a/src/lib/libc/stdlib/heapsort.c
+++ b/src/lib/libc/stdlib/heapsort.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#if defined(LIBC_SCCS) && !defined(lint) 37#if defined(LIBC_SCCS) && !defined(lint)
38static char *rcsid = "$OpenBSD: heapsort.c,v 1.2 1996/08/19 08:33:32 tholo Exp $"; 38static char *rcsid = "$OpenBSD: heapsort.c,v 1.3 2002/02/16 21:27:24 millert Exp $";
39#endif /* LIBC_SCCS and not lint */ 39#endif /* LIBC_SCCS and not lint */
40 40
41#include <sys/types.h> 41#include <sys/types.h>
@@ -141,7 +141,7 @@ int
141heapsort(vbase, nmemb, size, compar) 141heapsort(vbase, nmemb, size, compar)
142 void *vbase; 142 void *vbase;
143 size_t nmemb, size; 143 size_t nmemb, size;
144 int (*compar) __P((const void *, const void *)); 144 int (*compar)(const void *, const void *);
145{ 145{
146 register int cnt, i, j, l; 146 register int cnt, i, j, l;
147 register char tmp, *tmp1, *tmp2; 147 register char tmp, *tmp1, *tmp2;