summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-16 20:23:02 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:25 +0200
commiteb8a5ab3530f677c223d5cda5598c6d50a242b1b (patch)
tree55bf7852d1cff3b27fb6ced4fc260f92ad333d21 /include
parent2e17280a398d1297103517f456ac114b70cf015a (diff)
move __getdents[64] prototypes to dirent.h
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/dirent.h7
1 files changed, 7 insertions, 0 deletions
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 */