rtems/.../dirent.h: Add alphasort() prototype

Message ID 1520881167-7939-2-git-send-email-joel@rtems.org
State Accepted
Commit 5b97e36239d0c9b9404b46571e6ad962b59fcbfe
Headers show
Series
  • rtems/.../dirent.h: Add alphasort() prototype
Related show

Commit Message

Joel Sherrill March 12, 2018, 6:59 p.m.
---
 newlib/libc/sys/rtems/include/sys/dirent.h | 1 +
 1 file changed, 1 insertion(+)

-- 
1.8.3.1

Patch

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 *),