+2017-08-31 Florian Weimer <fweimer@redhat.com>
+
+ * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
+ * include/dirent.h (__opendirat, __getdents, __getdents64)
+ (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
+ * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
+ * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
+ * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
+ Likewise.
+ * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
+
2017-08-31 Florian Weimer <fweimer@redhat.com>
* sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
/* 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);
__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;
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), \
int (*select) (const struct dirent64 *),
int (*cmp) (const struct dirent64 **,
const struct dirent64 **))
- internal_function attribute_hidden;
+ attribute_hidden;
# endif
libc_hidden_proto (__rewinddir)
libc_hidden_proto (__old_readdir64);
extern int __old_readdir64_r (DIR *__dirp, struct __old_dirent64 *__entry,
struct __old_dirent64 **__result);
-extern __ssize_t __old_getdents64 (int __fd, char *__buf, size_t __nbytes)
- internal_function;
+extern __ssize_t __old_getdents64 (int __fd, char *__buf, size_t __nbytes);
int __old_scandir64 (const char * __dir,
struct __old_dirent64 *** __namelist,
int (*__selector) (const struct __old_dirent64 *),