summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/qsort.c2
-rw-r--r--stdlib/testrand.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/qsort.c b/stdlib/qsort.c
index 72d6b244df..498230b38f 100644
--- a/stdlib/qsort.c
+++ b/stdlib/qsort.c
@@ -83,7 +83,7 @@ _quicksort (pbase, total_elems, size, cmp)
void *const pbase;
size_t total_elems;
size_t size;
- int (*cmp) __P ((const void *, const void *));
+ __compar_fn_t cmp;
{
register char *base_ptr = (char *) pbase;
diff --git a/stdlib/testrand.c b/stdlib/testrand.c
index 05835b2ba8..b5c186462d 100644
--- a/stdlib/testrand.c
+++ b/stdlib/testrand.c
@@ -20,7 +20,7 @@
#include <stdio.h>
int
-main ()
+main (void)
{
int i1, i2;
int j1, j2;