diff options
author | 2001-07-09 06:57:42 +0000 | |
---|---|---|
committer | 2001-07-09 06:57:42 +0000 | |
commit | 20675415ae25d5cd6585b743a7a3b5fc8476438c (patch) | |
tree | b5c8b13f4ad70d8da1e9b7e09c544028ca4e34de /lib/libc/stdio/stdio.c | |
parent | add i2o devices (diff) | |
download | wireguard-openbsd-20675415ae25d5cd6585b743a7a3b5fc8476438c.tar.xz wireguard-openbsd-20675415ae25d5cd6585b743a7a3b5fc8476438c.zip |
a first pass at -Wall
Diffstat (limited to 'lib/libc/stdio/stdio.c')
-rw-r--r-- | lib/libc/stdio/stdio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c index 08d8533f8f9..17d413164d3 100644 --- a/lib/libc/stdio/stdio.c +++ b/lib/libc/stdio/stdio.c @@ -35,7 +35,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: stdio.c,v 1.3 1997/11/09 23:40:41 flipk Exp $"; +static char rcsid[] = "$OpenBSD: stdio.c,v 1.4 2001/07/09 06:57:44 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <fcntl.h> @@ -47,6 +47,7 @@ static char rcsid[] = "$OpenBSD: stdio.c,v 1.3 1997/11/09 23:40:41 flipk Exp $"; * Small standard I/O/seek/close functions. * These maintain the `known seek offset' for seek optimisation. */ +int __sread(cookie, buf, n) void *cookie; char *buf; @@ -64,6 +65,7 @@ __sread(cookie, buf, n) return (ret); } +int __swrite(cookie, buf, n) void *cookie; char const *buf; @@ -96,6 +98,7 @@ __sseek(cookie, offset, whence) return (ret); } +int __sclose(cookie) void *cookie; { |