This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] rtems/.../dirent.h: Add alphasort() prototype
- From: Joel Sherrill <joel at rtems dot org>
- To: newlib at sourceware dot org
- Cc: Joel Sherrill <joel at rtems dot org>
- Date: Mon, 12 Mar 2018 13:59:27 -0500
- Subject: [PATCH] rtems/.../dirent.h: Add alphasort() prototype
- Authentication-results: sourceware.org; auth=none
- References: <1520881167-7939-1-git-send-email-joel@rtems.org>
---
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