diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-11-04 04:37:24 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-11-04 04:37:24 +0000 |
commit | e547d07a488ab17397217e2a57594c78bf747373 (patch) | |
tree | 27ff5a616a1a4c6172cceb824be19e609b5d80a1 /libc/sysdeps/linux/common/syscalls.c | |
parent | cb9fa11843a7ea4a353a1a9954c8e054b35332b2 (diff) |
More cleanups. Fix things so tinylogin compiles.
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
-rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index c7d4343be..6b18c356d 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -44,13 +44,13 @@ _syscall0(pid_t, fork); //#define __NR_read 3 #ifdef L_read #include <unistd.h> -_syscall3(size_t, read, int, fd, char *, buf, size_t, count); +_syscall3(ssize_t, read, int, fd, __ptr_t, buf, size_t, count); #endif //#define __NR_write 4 #ifdef L_write #include <unistd.h> -_syscall3(size_t, write, int, fd, const char *, buf, size_t, count); +_syscall3(ssize_t, write, int, fd, const __ptr_t, buf, size_t, count); #endif //#define __NR_open 5 |