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 --- sysdeps/mach/hurd/opendir.c | 1 - sysdeps/posix/opendir.c | 2 -- sysdeps/unix/sysv/linux/getdents.c | 1 - sysdeps/unix/sysv/linux/i386/olddirent.h | 3 +-- 4 files changed, 1 insertion(+), 6 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/mach/hurd/opendir.c b/sysdeps/mach/hurd/opendir.c index d3757f00fa..2e1d1a07b2 100644 --- a/sysdeps/mach/hurd/opendir.c +++ b/sysdeps/mach/hurd/opendir.c @@ -69,7 +69,6 @@ _hurd_fd_opendir (struct hurd_fd *d) DIR * -internal_function __opendirat (int dfd, const char *name) { if (name[0] == '\0') diff --git a/sysdeps/posix/opendir.c b/sysdeps/posix/opendir.c index 880ebc904c..99869b4eb4 100644 --- a/sysdeps/posix/opendir.c +++ b/sysdeps/posix/opendir.c @@ -139,7 +139,6 @@ opendir_tail (int fd) #if IS_IN (libc) DIR * -internal_function __opendirat (int dfd, const char *name) { if (__glibc_unlikely (invalid_name (name))) @@ -193,7 +192,6 @@ __opendir (const char *name) weak_alias (__opendir, opendir) DIR * -internal_function __alloc_dir (int fd, bool close_fd, int flags, const struct stat64 *statp) { /* We have to set the close-on-exit flag if the user provided the diff --git a/sysdeps/unix/sysv/linux/getdents.c b/sysdeps/unix/sysv/linux/getdents.c index 4794eb737d..fb2bc1c056 100644 --- a/sysdeps/unix/sysv/linux/getdents.c +++ b/sysdeps/unix/sysv/linux/getdents.c @@ -76,7 +76,6 @@ struct kernel_dirent64 reset the file descriptor. In practice the kernel is limiting the amount of data returned much more then the reduced buffer size. */ ssize_t -internal_function __GETDENTS (int fd, char *buf, size_t nbytes) { ssize_t retval; diff --git a/sysdeps/unix/sysv/linux/i386/olddirent.h b/sysdeps/unix/sysv/linux/i386/olddirent.h index 8f2fcb7a9c..0b4c81da0e 100644 --- a/sysdeps/unix/sysv/linux/i386/olddirent.h +++ b/sysdeps/unix/sysv/linux/i386/olddirent.h @@ -34,8 +34,7 @@ extern struct __old_dirent64 *__old_readdir64 (DIR *__dirp); 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 *), -- cgit 1.4.1