[PATCH] rtems/.../dirent.h: Add alphasort() prototype

Joel Sherrill joel@rtems.org
Mon Mar 12 18:59:00 GMT 2018


---
 newlib/libc/sys/rtems/include/sys/dirent.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/libc/sys/rtems/include/sys/dirent.h b/newlib/libc/sys/rtems/include/sys/dirent.h
index 47a0c8f..bedb4e4 100644
--- a/newlib/libc/sys/rtems/include/sys/dirent.h
+++ b/newlib/libc/sys/rtems/include/sys/dirent.h
@@ -54,6 +54,7 @@ struct dirent {
 #define	MAXNAMLEN NAME_MAX
 #endif
 
+int alphasort(const struct dirent **, const struct dirent **);
 int scandir ( const char *dirname,
    struct dirent *** namelist,
    int (*select)(const struct dirent *),
-- 
1.8.3.1



More information about the Newlib mailing list