diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 11:09:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 11:09:28 +0000 |
commit | 28b2092a160fe626044a5ddcd131597bb7c77ba6 (patch) | |
tree | 57b77535f187425b485569232bdb97ee534c271c /lib | |
parent | 3a7eeb51143e769a9c17a1770dd5f7278d9e10c1 (diff) |
do not proto __syscall or you will experience excruciating pain
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/ftruncate.c | 1 | ||||
-rw-r--r-- | lib/libc/sys/lseek.c | 2 | ||||
-rw-r--r-- | lib/libc/sys/mmap.c | 1 | ||||
-rw-r--r-- | lib/libc/sys/truncate.c | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/sys/ftruncate.c b/lib/libc/sys/ftruncate.c index b1054bc19f6..211824ef4c9 100644 --- a/lib/libc/sys/ftruncate.c +++ b/lib/libc/sys/ftruncate.c @@ -53,7 +53,6 @@ ftruncate(fd, length) int fd; off_t length; { - quad_t __syscall __P((quad_t, ...)); return(__syscall((quad_t)SYS_ftruncate, fd, 0, length)); } diff --git a/lib/libc/sys/lseek.c b/lib/libc/sys/lseek.c index 10363bed96b..adc75f29b2f 100644 --- a/lib/libc/sys/lseek.c +++ b/lib/libc/sys/lseek.c @@ -54,7 +54,7 @@ lseek(fd, offset, whence) off_t offset; int whence; { - extern quad_t __syscall(); + extern off_t __syscall(); return(__syscall((quad_t)SYS_lseek, fd, 0, offset, whence)); } diff --git a/lib/libc/sys/mmap.c b/lib/libc/sys/mmap.c index b8ca3788ce9..442f3b1699b 100644 --- a/lib/libc/sys/mmap.c +++ b/lib/libc/sys/mmap.c @@ -58,7 +58,6 @@ mmap(addr, len, prot, flags, fd, offset) int fd; off_t offset; { - quad_t __syscall __P((quad_t, ...)); return((caddr_t)(long)__syscall((quad_t)SYS_mmap, addr, len, prot, flags, fd, 0, offset)); diff --git a/lib/libc/sys/truncate.c b/lib/libc/sys/truncate.c index e8b0d73212f..c54c6ed98ce 100644 --- a/lib/libc/sys/truncate.c +++ b/lib/libc/sys/truncate.c @@ -53,7 +53,6 @@ truncate(path, length) const char *path; off_t length; { - quad_t __syscall __P((quad_t, ...)); return(__syscall((quad_t)SYS_truncate, path, 0, length)); } |