diff options
Diffstat (limited to 'include/dirent.h')
-rw-r--r-- | include/dirent.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/dirent.h b/include/dirent.h index 7dbf622bbb..28bf432301 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -12,8 +12,8 @@ struct scandir_cancel_struct }; /* Now define the internal interfaces. */ -extern DIR *__opendir (__const char *__name); -extern DIR *__opendirat (int dfd, __const char *__name) internal_function; +extern DIR *__opendir (const char *__name); +extern DIR *__opendirat (int dfd, const char *__name) internal_function; extern DIR *__fdopendir (int __fd); extern int __closedir (DIR *__dirp); extern struct dirent *__readdir (DIR *__dirp); @@ -22,11 +22,11 @@ extern int __readdir_r (DIR *__dirp, struct dirent *__entry, struct dirent **__result); extern int __readdir64_r (DIR *__dirp, struct dirent64 *__entry, struct dirent64 **__result); -extern int __scandir64 (__const char * __dir, +extern int __scandir64 (const char * __dir, struct dirent64 *** __namelist, - int (*__selector) (__const struct dirent64 *), - int (*__cmp) (__const struct dirent64 **, - __const struct dirent64 **)); + int (*__selector) (const struct dirent64 *), + int (*__cmp) (const struct dirent64 **, + const struct dirent64 **)); extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes) internal_function; extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes) |