summaryrefslogtreecommitdiff
path: root/lib/libc/sys/truncate.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 22:52:23 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-03-25 22:52:23 +0000
commit7283308534010ae0729003c8c8c7f75205885079 (patch)
tree70eb31ec8478287460d1f5ec61093a5c3875847c /lib/libc/sys/truncate.c
parent056407260bf2539719751106b53b00fcd4896619 (diff)
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));
}