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/snprintf.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/snprintf.c')
-rw-r--r-- | lib/libc/stdio/snprintf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/snprintf.c b/lib/libc/stdio/snprintf.c index 86a740dda03..cab4690cd3b 100644 --- a/lib/libc/stdio/snprintf.c +++ b/lib/libc/stdio/snprintf.c @@ -35,17 +35,17 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: snprintf.c,v 1.2 1996/08/19 08:33:06 tholo Exp $"; +static char rcsid[] = "$OpenBSD: snprintf.c,v 1.3 1997/07/25 20:30:11 mickey Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> -#if __STDC__ +#ifdef __STDC__ #include <stdarg.h> #else #include <varargs.h> #endif -#if __STDC__ +#ifdef __STDC__ snprintf(char *str, size_t n, char const *fmt, ...) #else snprintf(str, n, fmt, va_alist) @@ -61,7 +61,7 @@ snprintf(str, n, fmt, va_alist) if ((int)n < 1) return (EOF); -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); |