summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fprintf.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:30:28 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:30:28 +0000
commit7baa7d06cf60a96d45c4a33ac4b83042a409e6f0 (patch)
tree535f30ade3133c1d8d84a06136dd0f216024ffb3 /lib/libc/stdio/fprintf.c
parent1626c644fa840e7d0e3178a0c02abb959cbb2d39 (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'lib/libc/stdio/fprintf.c')
-rw-r--r--lib/libc/stdio/fprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/fprintf.c b/lib/libc/stdio/fprintf.c
index 838b71fba1e..2d7a793c3c4 100644
--- a/lib/libc/stdio/fprintf.c
+++ b/lib/libc/stdio/fprintf.c
@@ -35,18 +35,18 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: fprintf.c,v 1.2 1996/08/19 08:32:41 tholo Exp $";
+static char rcsid[] = "$OpenBSD: fprintf.c,v 1.3 1997/07/25 20:30:09 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__
fprintf(FILE *fp, const char *fmt, ...)
#else
fprintf(fp, fmt, va_alist)
@@ -58,7 +58,7 @@ fprintf(fp, fmt, va_alist)
int ret;
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);