about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 16:02:40 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 16:02:40 +0200
commitfc3d94979e1f04df2014b4c1a01c39a0a74f12c3 (patch)
tree681ae8a545b62f61a665515c902fd27b25e631b6 /sysdeps
parent18c54facf1ba6125abab0eb6080630c1847e8819 (diff)
downloadglibc-fc3d94979e1f04df2014b4c1a01c39a0a74f12c3.tar.gz
glibc-fc3d94979e1f04df2014b4c1a01c39a0a74f12c3.tar.xz
glibc-fc3d94979e1f04df2014b4c1a01c39a0a74f12c3.zip
dirent: Remove internal_function attribute
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/opendir.c1
-rw-r--r--sysdeps/posix/opendir.c2
-rw-r--r--sysdeps/unix/sysv/linux/getdents.c1
-rw-r--r--sysdeps/unix/sysv/linux/i386/olddirent.h3
4 files changed, 1 insertions, 6 deletions
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 *),