diff options
Diffstat (limited to 'newlib/libc/posix/readdir_r.c')
-rw-r--r-- | newlib/libc/posix/readdir_r.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/posix/readdir_r.c b/newlib/libc/posix/readdir_r.c index 1d526e309..d13775b87 100644 --- a/newlib/libc/posix/readdir_r.c +++ b/newlib/libc/posix/readdir_r.c @@ -51,9 +51,9 @@ extern int getdents (int fd, void *dp, int count); */ int _DEFUN(readdir_r, (dirp, dp, dpp), - register DIR *dirp _AND - struct dirent *dp _AND - struct dirent **dpp) { + register DIR *__restrict dirp _AND + struct dirent *__restrict dp _AND + struct dirent **__restrict dpp) { struct dirent *tmpdp; |