diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/Makefile | 2 | ||||
-rw-r--r-- | stdlib/testsort.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile index b5a38bd..2eb1843 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 3ae55b1..a9a43c7 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); } |