summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
authorpat <pat@openbsd.org>2005-03-30 19:59:03 +0000
committerpat <pat@openbsd.org>2005-03-30 19:59:03 +0000
commit7e56a40ed278900185d4b9c9d061046ea21623ee (patch)
tree11e9ec28e3d8e1b58a436e90058e09da3f9037f4 /lib/libc/stdio/stdio.c
parentremove balony advice, recommended by beck (diff)
downloadwireguard-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.c6
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));
}