diff options
author | 2003-06-11 21:03:09 +0000 | |
---|---|---|
committer | 2003-06-11 21:03:09 +0000 | |
commit | f723aa391085d188652b94aedd37f0dd94193fba (patch) | |
tree | e126833f2d9fa0dab58a426c7c390de874c0b447 /lib/libc/sys/pwrite.c | |
parent | support for NAT-T (draft-ietf-ipsec-udp-encaps-06.txt); ok deraadt@ (diff) | |
download | wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.tar.xz wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.zip |
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; |