about summary refs log tree commit diff
path: root/src/dirent/readdir_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirent/readdir_r.c')
-rw-r--r--src/dirent/readdir_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirent/readdir_r.c b/src/dirent/readdir_r.c
index d3d7c608..639d49a1 100644
--- a/src/dirent/readdir_r.c
+++ b/src/dirent/readdir_r.c
@@ -5,7 +5,7 @@
 #include "__dirent.h"
 #include "libc.h"
 
-int readdir_r(DIR *dir, struct dirent *buf, struct dirent **result)
+int readdir_r(DIR *restrict dir, struct dirent *restrict buf, struct dirent **restrict result)
 {
 	struct dirent *de;
 	int errno_save = errno;