summaryrefslogtreecommitdiff
path: root/lib/libpthread/stdio/scanf.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/libpthread/stdio/scanf.c
parent1626c644fa840e7d0e3178a0c02abb959cbb2d39 (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'lib/libpthread/stdio/scanf.c')
-rw-r--r--lib/libpthread/stdio/scanf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/stdio/scanf.c b/lib/libpthread/stdio/scanf.c
index 7feb1f529f0..adaa4a0a78a 100644
--- a/lib/libpthread/stdio/scanf.c
+++ b/lib/libpthread/stdio/scanf.c
@@ -36,18 +36,18 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)scanf.c 5.3 (Berkeley) 1/20/91";*/
-static char *rcsid = "$Id: scanf.c,v 1.1 1995/10/18 08:43:08 deraadt Exp $";
+static char *rcsid = "$Id: scanf.c,v 1.2 1997/07/25 20:30:23 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <pthread.h>
#include <stdio.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
#endif
-#if __STDC__
+#ifdef __STDC__
scanf(char const *fmt, ...)
#else
scanf(fmt, va_alist)
@@ -58,7 +58,7 @@ scanf(fmt, va_alist)
int ret;
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);