summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/truncate.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-01 11:09:23 +0000
committerderaadt <deraadt@openbsd.org>1996-05-01 11:09:23 +0000
commit6b0d02319cc8e8e611990135f76dd9daace5821b (patch)
tree6eac5f3e9bb787fcb60d8872527d168cf993ba28 /lib/libc/sys/truncate.c
parentfrom netbsd; Document futimes() (diff)
downloadwireguard-openbsd-6b0d02319cc8e8e611990135f76dd9daace5821b.tar.xz
wireguard-openbsd-6b0d02319cc8e8e611990135f76dd9daace5821b.zip
do not proto __syscall or you will experience excruciating pain
Diffstat (limited to 'lib/libc/sys/truncate.c')
-rw-r--r--lib/libc/sys/truncate.c1
1 files changed, 0 insertions, 1 deletions
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));
}