summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-15 18:16:14 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-15 18:16:14 +0000
commit6fce1235bea41b65a0b7a978c65b908c736365d4 (patch)
tree87f187b31b047b77f09d7581affbe2a032b36ced /libc/sysdeps/linux/common/syscalls.c
parent5d83a25c29718b926ed547abf9131ffbbd35bc95 (diff)
Fix termios handling. Now synced with behavior of GNU libc.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index e726ba7fc..534f3779c 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -966,15 +966,15 @@ _syscall2(int,flock,int,fd, int,operation);
#ifdef L_writev
#include <sys/uio.h>
_syscall3(ssize_t, writev, int, filedes, const struct iovec *, vector, int,
-
count);
#endif
//#define __NR_getsid 147
#ifdef L_getsid
-SYSCALL__(getsid, 1)
- ret
+#include <unistd.h>
+_syscall1(pid_t, getsid, pid_t, pid);
#endif
+
//#define __NR_fdatasync 148
#ifdef L_fdatasync
SYSCALL__(fdatasync, 1)