summaryrefslogtreecommitdiff
path: root/include/dirent.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-16 20:50:39 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:25 +0200
commit329befa2612ab31a5992684acee2a6e5e3861673 (patch)
treed766ba82409bd0b5ac23e63beb7ae4aa3b5e83da /include/dirent.h
parenteb8a5ab3530f677c223d5cda5598c6d50a242b1b (diff)
dirent.h: use __ssize_t instead of ssize_t
getdents[64].c: forgot to include 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/dirent.h')
-rw-r--r--include/dirent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 37d528ecc..9e2b25488 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -369,9 +369,9 @@ extern int versionsort64 (__const struct dirent64 **__e1,
__END_DECLS
#ifdef _LIBC
-extern ssize_t __getdents(int fd, char *buf, size_t count) attribute_hidden;
+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;
+extern __ssize_t __getdents64 (int fd, char *buf, size_t count) attribute_hidden;
# endif
#endif