summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/rtems')
-rw-r--r--newlib/libc/sys/rtems/sys/dirent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/rtems/sys/dirent.h b/newlib/libc/sys/rtems/sys/dirent.h
index c52c7bcf7..8d2aa38cb 100644
--- a/newlib/libc/sys/rtems/sys/dirent.h
+++ b/newlib/libc/sys/rtems/sys/dirent.h
@@ -26,6 +26,8 @@ typedef struct _dirdesc {
DIR *opendir(const char *);
struct dirent *readdir(DIR *);
+int readdir_r(DIR *__restrict, struct dirent *__restrict,
+ struct dirent **__restrict);
void rewinddir(DIR *);
int closedir(DIR *);
void seekdir(DIR *dir, long loc);