summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/Makefile2
-rw-r--r--stdlib/testsort.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index b5a38bd965..2eb1843a4a 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -21,7 +21,7 @@
 #
 subdir	:= stdlib
 
-headers	:= stdlib.h alloca.h monetary.h inttypes.h fmtmsg.h
+headers	:= stdlib.h alloca.h monetary.h fmtmsg.h
 
 routines	:=							      \
 	atof atoi atol atoll						      \
diff --git a/stdlib/testsort.c b/stdlib/testsort.c
index 3ae55b14b9..a9a43c76ea 100644
--- a/stdlib/testsort.c
+++ b/stdlib/testsort.c
@@ -3,7 +3,7 @@
 #include <stdio.h>
 
 int
-compare (const char *a, const char *b)
+compare (const void *a, const void *b)
 {
   return strcmp (*(char **) a, *(char **) b);
 }