summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getdents.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-23 03:40:00 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-23 03:40:00 +0000
commitf4a61573472a5bb904d158d2d251c4cccfb05046 (patch)
treefaf15a32d5c83f51836624dd635416b1bb342731 /libc/sysdeps/linux/common/getdents.c
parentec91d8b59d5c8b314bc50cc6feedeeaf6fe3493c (diff)
downloaduClibc-alpine-f4a61573472a5bb904d158d2d251c4cccfb05046.tar.bz2
uClibc-alpine-f4a61573472a5bb904d158d2d251c4cccfb05046.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/getdents.c')
-rw-r--r--libc/sysdeps/linux/common/getdents.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getdents.c b/libc/sysdeps/linux/common/getdents.c
index 7fe191d77..11c2570c4 100644
--- a/libc/sysdeps/linux/common/getdents.c
+++ b/libc/sysdeps/linux/common/getdents.c
@@ -101,6 +101,10 @@ ssize_t __getdents (int fd, char *buf, size_t nbytes)
return (char *) dp - buf;
}
+#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64
+attribute_hidden strong_alias(__getdents,__getdents64)
+#endif
+
#elif __WORDSIZE == 32
libc_hidden_proto(memmove)