From b1f5c2a0b27e30045a7e9891ac7f5edea7acf3a0 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 12 Jun 2015 09:57:12 -0600 Subject: [PATCH] Fix a few errors/warnings in THTTPD when indexing is enabled. Still depends on non-existent lstat and ctime --- include/stdlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/stdlib.h b/include/stdlib.h index d7319b98fb..14b06f88ae 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -187,8 +187,8 @@ int mkstemp(FAR char *path_template); /* Sorting */ -void qsort(void *base, size_t nmemb, size_t size, - int(*compar)(const void *, const void *)); +void qsort(FAR void *base, size_t nmemb, size_t size, + int (*compar)(FAR const void *, FAR const void *)); #ifdef CONFIG_CAN_PASS_STRUCTS struct mallinfo mallinfo(void);