summaryrefslogtreecommitdiff
path: root/lib/libc/sys/ftruncate.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/ftruncate.c
parent056407260bf2539719751106b53b00fcd4896619 (diff)
Prototype __syscall() correctly
Diffstat (limited to 'lib/libc/sys/ftruncate.c')
-rw-r--r--lib/libc/sys/ftruncate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/sys/ftruncate.c b/lib/libc/sys/ftruncate.c
index 211824ef4c9..b1054bc19f6 100644
--- a/lib/libc/sys/ftruncate.c
+++ b/lib/libc/sys/ftruncate.c
@@ -53,6 +53,7 @@ ftruncate(fd, length)
int fd;
off_t length;
{
+ quad_t __syscall __P((quad_t, ...));
return(__syscall((quad_t)SYS_ftruncate, fd, 0, length));
}