summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-03 21:08:31 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-03 21:08:31 +0000
commit48e47d2f49bc42e23a95f3c4830db912a1304388 (patch)
treefcb9dcb9f42cd21b0c74d918f2e7e5d051d513fa /libc
parent07e2054f1068db881874e072eb63e1e3eaa0de98 (diff)
Correct _getdents[64] and __syscall_ipc
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/dirent/dirstream.h4
-rw-r--r--libc/misc/sysvipc/ipc.h2
2 files changed, 3 insertions, 3 deletions
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 */
diff --git a/libc/misc/sysvipc/ipc.h b/libc/misc/sysvipc/ipc.h
index a5d443543..c1d4e76c5 100644
--- a/libc/misc/sysvipc/ipc.h
+++ b/libc/misc/sysvipc/ipc.h
@@ -7,7 +7,7 @@
#ifdef __NR_ipc
/* The actual system call: all functions are multiplexed by this. */
-extern int __syscall_ipc __P((int __call, int __first, int __second,
+extern int __syscall_ipc __P((unsigned int __call, int __first, int __second,
int __third, void *__ptr));