From 48e47d2f49bc42e23a95f3c4830db912a1304388 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 3 Nov 2005 21:08:31 +0000 Subject: Correct _getdents[64] and __syscall_ipc --- libc/misc/dirent/dirstream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/misc/dirent/dirstream.h') diff --git a/libc/misc/dirent/dirstream.h b/libc/misc/dirent/dirstream.h index 2dd0264fc..f51dee14e 100644 --- a/libc/misc/dirent/dirstream.h +++ b/libc/misc/dirent/dirstream.h @@ -71,9 +71,9 @@ struct __dirstream { }; /* stream data from opendir() */ -extern int __getdents(unsigned int fd, struct dirent *dirp, unsigned int count); +extern ssize_t __getdents(int fd, char *buf, size_t count); #ifdef __UCLIBC_HAS_LFS__ -extern int __getdents64 (unsigned int fd, struct dirent64 *dirp, unsigned int count); +extern ssize_t __getdents64 (int fd, char *buf, size_t count); #endif #endif /* dirent.h */ -- cgit v1.2.3