aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/posix/readdir_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/posix/readdir_r.c')
-rw-r--r--newlib/libc/posix/readdir_r.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/posix/readdir_r.c b/newlib/libc/posix/readdir_r.c
index a75eee9..8f4a982 100644
--- a/newlib/libc/posix/readdir_r.c
+++ b/newlib/libc/posix/readdir_r.c
@@ -50,8 +50,7 @@ extern int getdents (int fd, void *dp, int count);
* get next entry in a directory using supplied dirent structure.
*/
int
-_DEFUN(readdir_r, (dirp, dp, dpp),
- register DIR *__restrict dirp,
+readdir_r (register DIR *__restrict dirp,
struct dirent *__restrict dp,
struct dirent **__restrict dpp) {