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/sscanf.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/sscanf.c')
-rw-r--r-- | lib/libc/stdio/sscanf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/sscanf.c b/lib/libc/stdio/sscanf.c index eb249fbf65e..f5bee8f9b70 100644 --- a/lib/libc/stdio/sscanf.c +++ b/lib/libc/stdio/sscanf.c @@ -35,7 +35,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: sscanf.c,v 1.3 1997/07/25 20:30:12 mickey Exp $"; +static char rcsid[] = "$OpenBSD: sscanf.c,v 1.4 2001/07/09 06:57:44 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -58,6 +58,7 @@ eofread(cookie, buf, len) return (0); } +int #ifdef __STDC__ sscanf(const char *str, char const *fmt, ...) #else |