summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/heapsort.c3
-rw-r--r--lib/libc/stdlib/qsort.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/stdlib/heapsort.c b/lib/libc/stdlib/heapsort.c
index d800064..9649553 100644
--- a/lib/libc/stdlib/heapsort.c
+++ b/lib/libc/stdlib/heapsort.c
@@ -38,10 +38,9 @@
static char sccsid[] = "@(#)heapsort.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
-#include <sys/types.h>
#include <errno.h>
-#include <stdlib.h>
#include <stddef.h>
+#include <stdlib.h>
/*
* Swap two areas of size number of bytes. Although qsort(3) permits random
diff --git a/lib/libc/stdlib/qsort.c b/lib/libc/stdlib/qsort.c
index 66c0224..2e2dcf1 100644
--- a/lib/libc/stdlib/qsort.c
+++ b/lib/libc/stdlib/qsort.c
@@ -36,10 +36,9 @@
static char sccsid[] = "@(#)qsort.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: qsort.c,v 1.3 1995/12/26 13:24:58 bde Exp $";
#endif /* LIBC_SCCS and not lint */
-#include <sys/types.h>
#include <stdlib.h>
typedef int cmp_t __P((const void *, const void *));
OpenPOWER on IntegriCloud