summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/truncate.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-03-25 22:52:20 +0000
committertholo <tholo@openbsd.org>1996-03-25 22:52:20 +0000
commit673004aae052bd639f4e2ce590b73a52633f90a6 (patch)
tree8897756f7418a25cc124048defc759a35b116095 /lib/libc/sys/truncate.c
parentCannot do operations on a void pointer (diff)
downloadwireguard-openbsd-673004aae052bd639f4e2ce590b73a52633f90a6.tar.xz
wireguard-openbsd-673004aae052bd639f4e2ce590b73a52633f90a6.zip
Prototype __syscall() correctly
Diffstat (limited to 'lib/libc/sys/truncate.c')
-rw-r--r--lib/libc/sys/truncate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/sys/truncate.c b/lib/libc/sys/truncate.c
index c54c6ed98ce..e8b0d73212f 100644
--- a/lib/libc/sys/truncate.c
+++ b/lib/libc/sys/truncate.c
@@ -53,6 +53,7 @@ truncate(path, length)
const char *path;
off_t length;
{
+ quad_t __syscall __P((quad_t, ...));
return(__syscall((quad_t)SYS_truncate, path, 0, length));
}