aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-04-14 17:22:29 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-10-16 14:19:23 -0300
commit30d2e4a963db0b3fdb1aa2cf2e2942c7a62d6649 (patch)
tree11a922ac445de129cefcf9625188226ee33b03b3 /include
parent4b962c9e859de23b461d61f860dbd3f21311e83a (diff)
downloadglibc-30d2e4a963db0b3fdb1aa2cf2e2942c7a62d6649.zip
glibc-30d2e4a963db0b3fdb1aa2cf2e2942c7a62d6649.tar.gz
glibc-30d2e4a963db0b3fdb1aa2cf2e2942c7a62d6649.tar.bz2
linux: Add __readdir_unlocked
And use it on readdir_r implementation. Checked on i686-linux-gnu.
Diffstat (limited to 'include')
-rw-r--r--include/dirent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h
index fdf4c4a..8325a19 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -20,6 +20,7 @@ extern DIR *__opendirat (int dfd, const char *__name) attribute_hidden;
extern DIR *__fdopendir (int __fd) attribute_hidden;
extern int __closedir (DIR *__dirp) attribute_hidden;
extern struct dirent *__readdir (DIR *__dirp) attribute_hidden;
+extern struct dirent *__readdir_unlocked (DIR *__dirp) attribute_hidden;
extern struct dirent64 *__readdir64 (DIR *__dirp);
libc_hidden_proto (__readdir64)
extern int __readdir_r (DIR *__dirp, struct dirent *__entry,