diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-11 21:03:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-11 21:03:11 +0000 |
commit | 4dba6a5e639357ec5b17c397ad648b7c98e3ba12 (patch) | |
tree | 108501f056c58743e71328f45cbc63154295e75a /lib/libc/sys/pwrite.c | |
parent | e9c67dcf958b38635d2c444765b8d17227635cc5 (diff) |
ansification; checked by pval
Diffstat (limited to 'lib/libc/sys/pwrite.c')
-rw-r--r-- | lib/libc/sys/pwrite.c | 10 |
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; |