summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/ftruncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/ftruncate.c')
-rw-r--r--lib/libc/sys/ftruncate.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/sys/ftruncate.c b/lib/libc/sys/ftruncate.c
index 1ea26845985..8d95281064e 100644
--- a/lib/libc/sys/ftruncate.c
+++ b/lib/libc/sys/ftruncate.c
@@ -28,7 +28,7 @@
*/
#if defined(SYSLIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: ftruncate.c,v 1.10 2003/06/02 20:18:39 millert Exp $";
+static char rcsid[] = "$OpenBSD: ftruncate.c,v 1.11 2003/06/11 21:03:10 deraadt Exp $";
#endif /* SYSLIBC_SCCS and not lint */
#include <sys/types.h>
@@ -44,9 +44,7 @@ quad_t __syscall(quad_t, ...);
* is not supplied by GCC 1.X but is supplied by GCC 2.X.
*/
int
-ftruncate(fd, length)
- int fd;
- off_t length;
+ftruncate(int fd, off_t length)
{
int retval;