summaryrefslogtreecommitdiff
path: root/lib/libc/sys/pwrite.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 21:03:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 21:03:11 +0000
commit4dba6a5e639357ec5b17c397ad648b7c98e3ba12 (patch)
tree108501f056c58743e71328f45cbc63154295e75a /lib/libc/sys/pwrite.c
parente9c67dcf958b38635d2c444765b8d17227635cc5 (diff)
ansification; checked by pval
Diffstat (limited to 'lib/libc/sys/pwrite.c')
-rw-r--r--lib/libc/sys/pwrite.c10
1 files changed, 3 insertions, 7 deletions
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 <sys/types.h>
@@ -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;