summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdents64.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-27 22:51:07 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-27 22:51:07 +0000
commitf5773054ef6420f52887bfa2c8dd1a40423e2187 (patch)
treef6dab9a316d393d0bb055faf363b00dd43249663 /libc/sysdeps/linux/common/getdents64.c
parent147041d26029fabdb35b596a1d3bcbb40c3de975 (diff)
fix breakage in x86_64 defconfig
Diffstat (limited to 'libc/sysdeps/linux/common/getdents64.c')
-rw-r--r--libc/sysdeps/linux/common/getdents64.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/getdents64.c b/libc/sysdeps/linux/common/getdents64.c
index 1864ff4fc..37cb4c6f8 100644
--- a/libc/sysdeps/linux/common/getdents64.c
+++ b/libc/sysdeps/linux/common/getdents64.c
@@ -20,9 +20,6 @@
#if defined __UCLIBC_HAS_LFS__ && defined __NR_getdents64
-/* Experimentally off - libc_hidden_proto(memcpy) */
-/* libc_hidden_proto(lseek64) */
-
# ifndef offsetof
# define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# endif
@@ -36,7 +33,6 @@ struct kernel_dirent64
char d_name[256];
};
-
# define __NR___syscall_getdents64 __NR_getdents64
static __inline__ _syscall3(int, __syscall_getdents64, int, fd, unsigned char *, dirp, size_t, count)
@@ -102,4 +98,4 @@ ssize_t __getdents64 (int fd, char *buf, size_t nbytes)
attribute_hidden strong_alias(__getdents64,__getdents)
#endif
-#endif /* __UCLIBC_HAS_LFS__ */
+#endif