From fc3d94979e1f04df2014b4c1a01c39a0a74f12c3 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 31 Aug 2017 16:02:40 +0200 Subject: dirent: Remove internal_function attribute --- include/dirent.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'include/dirent.h') diff --git a/include/dirent.h b/include/dirent.h index c792e53..bebcd52 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -16,8 +16,7 @@ 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 attribute_hidden; +extern DIR *__opendirat (int dfd, const char *__name) attribute_hidden; extern DIR *__fdopendir (int __fd); extern int __closedir (DIR *__dirp); extern struct dirent *__readdir (DIR *__dirp); @@ -36,17 +35,16 @@ extern __ssize_t __getdirentries (int __fd, char *__restrict __buf, __off_t *__restrict __basep) __THROW __nonnull ((2, 4)); extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes) - internal_function attribute_hidden; + attribute_hidden; extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes) - internal_function attribute_hidden; + attribute_hidden; extern int __alphasort64 (const struct dirent64 **a, const struct dirent64 **b) __attribute_pure__; extern int __versionsort64 (const struct dirent64 **a, const struct dirent64 **b) __attribute_pure__; extern DIR *__alloc_dir (int fd, bool close_fd, int flags, - const struct stat64 *statp) - internal_function attribute_hidden; + const struct stat64 *statp) attribute_hidden; extern __typeof (rewinddir) __rewinddir; extern void __scandir_cancel_handler (void *arg) attribute_hidden; @@ -55,7 +53,7 @@ extern int __scandir_tail (DIR *dp, int (*select) (const struct dirent *), int (*cmp) (const struct dirent **, const struct dirent **)) - internal_function attribute_hidden; + attribute_hidden; # ifdef _DIRENT_MATCHES_DIRENT64 # define __scandir64_tail (dp, namelist, select, cmp) \ __scandir_tail (dp, (struct dirent ***) (namelist), \ @@ -68,7 +66,7 @@ extern int __scandir64_tail (DIR *dp, int (*select) (const struct dirent64 *), int (*cmp) (const struct dirent64 **, const struct dirent64 **)) - internal_function attribute_hidden; + attribute_hidden; # endif libc_hidden_proto (__rewinddir) -- cgit v1.1