diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-15 20:23:33 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-15 20:23:33 +0000 |
commit | 5da06322c21e27d5bc60459ae2f80a80d2c8162b (patch) | |
tree | d514819fb0e47354537c701f67d04e4f336ac792 /libc/sysdeps/linux/common/getdents64.c | |
parent | cc9da0a85c21f4c5c5e340ef5f7a86c6821476b5 (diff) |
Hide more of stdio,getdents, use internal __raise
Diffstat (limited to 'libc/sysdeps/linux/common/getdents64.c')
-rw-r--r-- | libc/sysdeps/linux/common/getdents64.c | 6 |
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)); } |