From eb8a5ab3530f677c223d5cda5598c6d50a242b1b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 16 Mar 2011 20:23:02 +0100 Subject: move __getdents[64] prototypes to dirent.h Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- include/dirent.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/dirent.h b/include/dirent.h index e6d416450..37d528ecc 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -368,4 +368,11 @@ extern int versionsort64 (__const struct dirent64 **__e1, __END_DECLS +#ifdef _LIBC +extern ssize_t __getdents(int fd, char *buf, size_t count) attribute_hidden; +# ifdef __UCLIBC_HAS_LFS__ +extern ssize_t __getdents64 (int fd, char *buf, size_t count) attribute_hidden; +# endif +#endif + #endif /* dirent.h */ -- cgit v1.2.3