summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1997-07-25 20:29:57 +0000
committermickey <mickey@openbsd.org>1997-07-25 20:29:57 +0000
commitb71133560cf1ffb85aedfde08af920b5a3146273 (patch)
tree9bc09abca4a79e54e78902deb91633a9273e6fe9 /lib/libc/stdio/printf.c
parent#if __STDC__ --> #ifdef __STDC__ (diff)
downloadwireguard-openbsd-b71133560cf1ffb85aedfde08af920b5a3146273.tar.xz
wireguard-openbsd-b71133560cf1ffb85aedfde08af920b5a3146273.zip
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'lib/libc/stdio/printf.c')
-rw-r--r--lib/libc/stdio/printf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.c b/lib/libc/stdio/printf.c
index 74a7d8e5a1d..bdae6aec7ce 100644
--- a/lib/libc/stdio/printf.c
+++ b/lib/libc/stdio/printf.c
@@ -35,18 +35,18 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: printf.c,v 1.2 1996/08/19 08:32:57 tholo Exp $";
+static char rcsid[] = "$OpenBSD: printf.c,v 1.3 1997/07/25 20:30:10 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
int
-#if __STDC__
+#ifdef __STDC__
printf(char const *fmt, ...)
#else
printf(fmt, va_alist)
@@ -57,7 +57,7 @@ printf(fmt, va_alist)
int ret;
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);