summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getdents64.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-18 03:14:53 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-18 03:14:53 +0000
commitf87c7bd4133a2b3ad9b45c32fab33d167a348c4b (patch)
tree7259957b97704c375b3d8ab42f8da3d52665845e /libc/sysdeps/linux/common/getdents64.c
parent164a928b77f596b6617a4bbf43a2c06bc35a5602 (diff)
downloaduClibc-alpine-f87c7bd4133a2b3ad9b45c32fab33d167a348c4b.tar.bz2
uClibc-alpine-f87c7bd4133a2b3ad9b45c32fab33d167a348c4b.tar.xz
Massive merge from trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/getdents64.c')
-rw-r--r--libc/sysdeps/linux/common/getdents64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/getdents64.c b/libc/sysdeps/linux/common/getdents64.c
index 1b4b0c368..7b4c0d4ce 100644
--- a/libc/sysdeps/linux/common/getdents64.c
+++ b/libc/sysdeps/linux/common/getdents64.c
@@ -49,7 +49,7 @@ struct kernel_dirent64
static inline _syscall3(int, __syscall_getdents64, int, fd, unsigned char *, dirp, size_t, count);
-ssize_t __getdents64 (int fd, char *buf, size_t nbytes)
+ssize_t attribute_hidden __getdents64 (int fd, char *buf, size_t nbytes)
{
struct dirent64 *dp;
off64_t last_offset = -1;
@@ -104,8 +104,8 @@ ssize_t __getdents64 (int fd, char *buf, size_t nbytes)
return (char *) dp - buf;
}
#else
-ssize_t __getdents (int fd, char *buf, size_t nbytes);
-ssize_t __getdents64 (int fd, char *buf, size_t nbytes)
+extern ssize_t __getdents (int fd, char *buf, size_t nbytes) attribute_hidden;
+ssize_t attribute_hidden __getdents64 (int fd, char *buf, size_t nbytes)
{
return(__getdents(fd, buf, nbytes));
}