diff options
author | 1997-07-25 20:29:57 +0000 | |
---|---|---|
committer | 1997-07-25 20:29:57 +0000 | |
commit | b71133560cf1ffb85aedfde08af920b5a3146273 (patch) | |
tree | 9bc09abca4a79e54e78902deb91633a9273e6fe9 /lib/libc/stdio/sscanf.c | |
parent | #if __STDC__ --> #ifdef __STDC__ (diff) | |
download | wireguard-openbsd-b71133560cf1ffb85aedfde08af920b5a3146273.tar.xz wireguard-openbsd-b71133560cf1ffb85aedfde08af920b5a3146273.zip |
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'lib/libc/stdio/sscanf.c')
-rw-r--r-- | lib/libc/stdio/sscanf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/sscanf.c b/lib/libc/stdio/sscanf.c index bf314a65a50..eb249fbf65e 100644 --- a/lib/libc/stdio/sscanf.c +++ b/lib/libc/stdio/sscanf.c @@ -35,12 +35,12 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: sscanf.c,v 1.2 1996/08/19 08:33:07 tholo Exp $"; +static char rcsid[] = "$OpenBSD: sscanf.c,v 1.3 1997/07/25 20:30:12 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> #include <string.h> -#if __STDC__ +#ifdef __STDC__ #include <stdarg.h> #else #include <varargs.h> @@ -58,7 +58,7 @@ eofread(cookie, buf, len) return (0); } -#if __STDC__ +#ifdef __STDC__ sscanf(const char *str, char const *fmt, ...) #else sscanf(str, fmt, va_alist) @@ -77,7 +77,7 @@ sscanf(str, fmt, va_alist) f._read = eofread; f._ub._base = NULL; f._lb._base = NULL; -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); |