From 4dba6a5e639357ec5b17c397ad648b7c98e3ba12 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 11 Jun 2003 21:03:11 +0000 Subject: ansification; checked by pval --- lib/libc/sys/pwrite.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'lib/libc/sys/pwrite.c') diff --git a/lib/libc/sys/pwrite.c b/lib/libc/sys/pwrite.c index e390c3cfad9..04a1c268083 100644 --- a/lib/libc/sys/pwrite.c +++ b/lib/libc/sys/pwrite.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pwrite.c,v 1.5 2003/06/02 20:18:39 millert Exp $ */ +/* $OpenBSD: pwrite.c,v 1.6 2003/06/11 21:03:10 deraadt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -30,7 +30,7 @@ */ #if defined(SYSLIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: pwrite.c,v 1.5 2003/06/02 20:18:39 millert Exp $"; +static char rcsid[] = "$OpenBSD: pwrite.c,v 1.6 2003/06/11 21:03:10 deraadt Exp $"; #endif /* SYSLIBC_SCCS and not lint */ #include @@ -42,11 +42,7 @@ static char rcsid[] = "$OpenBSD: pwrite.c,v 1.5 2003/06/02 20:18:39 millert Exp * is not supplied by GCC 1.X but is supplied by GCC 2.X. */ ssize_t -pwrite(fd, buf, nbyte, offset) - int fd; - const void *buf; - size_t nbyte; - off_t offset; +pwrite(int fd, const void *buf, size_t nbyte, off_t offset) { extern off_t __syscall(); quad_t q; -- cgit v1.2.3