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/unix/sysv/linux/getdents.c | 1 - sysdeps/unix/sysv/linux/i386/olddirent.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'sysdeps/unix') 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 v1.2.3-70-g09d2