diff options
author | 1996-03-25 22:52:20 +0000 | |
---|---|---|
committer | 1996-03-25 22:52:20 +0000 | |
commit | 673004aae052bd639f4e2ce590b73a52633f90a6 (patch) | |
tree | 8897756f7418a25cc124048defc759a35b116095 /lib/libc/sys/truncate.c | |
parent | Cannot do operations on a void pointer (diff) | |
download | wireguard-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.c | 1 |
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)); } |