summaryrefslogtreecommitdiff
path: root/libc/misc/ftw/ftw.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-13 21:38:57 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-13 21:38:57 +0000
commitf32600208f4e9db972eb47f7d4959994b31199e6 (patch)
tree2a9b75b74b8cf126b816ee32a36727977b5c3de3 /libc/misc/ftw/ftw.c
parent01015a4321d2af6b665a90a20ea349f02bde6f81 (diff)
Convert all users of earlier hiddens
Diffstat (limited to 'libc/misc/ftw/ftw.c')
-rw-r--r--libc/misc/ftw/ftw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/ftw/ftw.c b/libc/misc/ftw/ftw.c
index 30009def9..4bd186561 100644
--- a/libc/misc/ftw/ftw.c
+++ b/libc/misc/ftw/ftw.c
@@ -219,7 +219,7 @@ open_dir_stream (struct ftw_data *data, struct dir_data *dirp)
struct dirent *d;
size_t actsize = 0;
- while ((d = readdir (st)) != NULL)
+ while ((d = __readdir (st)) != NULL)
{
size_t this_len = _D_EXACT_NAMLEN (d);
if (actsize + this_len + 2 >= bufsize)
@@ -443,7 +443,7 @@ ftw_dir (struct ftw_data *data, struct STAT *st)
*startp++ = '/';
data->ftw.base = startp - data->dirbuf;
- while (dir.stream != NULL && (d = readdir (dir.stream)) != NULL)
+ while (dir.stream != NULL && (d = __readdir (dir.stream)) != NULL)
{
result = process_entry (data, &dir, d->d_name, _D_EXACT_NAMLEN (d));
if (result != 0)