diff options
author | 2005-03-30 19:59:03 +0000 | |
---|---|---|
committer | 2005-03-30 19:59:03 +0000 | |
commit | 7e56a40ed278900185d4b9c9d061046ea21623ee (patch) | |
tree | 11e9ec28e3d8e1b58a436e90058e09da3f9037f4 /lib/libc/stdio/stdio.c | |
parent | remove balony advice, recommended by beck (diff) | |
download | wireguard-openbsd-7e56a40ed278900185d4b9c9d061046ea21623ee.tar.xz wireguard-openbsd-7e56a40ed278900185d4b9c9d061046ea21623ee.zip |
ansi
ok otto moritz deraadt
Diffstat (limited to 'lib/libc/stdio/stdio.c')
-rw-r--r-- | lib/libc/stdio/stdio.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c index b0605e45057..0b8dea835a0 100644 --- a/lib/libc/stdio/stdio.c +++ b/lib/libc/stdio/stdio.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: stdio.c,v 1.6 2004/09/28 18:12:44 otto Exp $"; +static char rcsid[] = "$OpenBSD: stdio.c,v 1.7 2005/03/30 19:59:03 pat Exp $"; #endif /* LIBC_SCCS and not lint */ #include <fcntl.h> @@ -86,9 +86,7 @@ __sseek(void *cookie, fpos_t offset, int whence) } int -__sclose(cookie) - void *cookie; +__sclose(void *cookie) { - return (close(((FILE *)cookie)->_file)); } |