summaryrefslogtreecommitdiff
path: root/lib/libc/sys/truncate.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-09-15 09:32:02 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-09-15 09:32:02 +0000
commit5839b84db8fa4a49976868786c93b29df9c4d568 (patch)
treeef3d545e61baa18f319312ada4e97e2c799c24c6 /lib/libc/sys/truncate.c
parent1d3f47d20a2b64c481a047ce24f39564b3e74533 (diff)
Remove dead code
Remove unused variables Silence some warnings lint(1) is your friend
Diffstat (limited to 'lib/libc/sys/truncate.c')
-rw-r--r--lib/libc/sys/truncate.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/truncate.c b/lib/libc/sys/truncate.c
index a7683f7fd1e..7315b9ef7e7 100644
--- a/lib/libc/sys/truncate.c
+++ b/lib/libc/sys/truncate.c
@@ -32,12 +32,16 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: truncate.c,v 1.4 1996/08/19 08:34:33 tholo Exp $";
+static char rcsid[] = "$OpenBSD: truncate.c,v 1.5 1996/09/15 09:31:57 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <sys/syscall.h>
+#ifdef lint
+quad_t __syscall(quad_t, ...);
+#endif
+
/*
* This function provides 64-bit offset padding that
* is not supplied by GCC 1.X but is supplied by GCC 2.X.