summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-07-11 20:17:37 +0000
committerchristos <christos@NetBSD.org>1997-07-11 20:17:37 +0000
commit87d111ebee2cfd8494308cf41efdad509cf0134c (patch)
treed01f5128620eda314952c23cf38d4855e1ca4808 /usr.bin/make
parent4507c82bcc4e0a0371f710238ccbb7f10724c404 (diff)
#if __STDC__ -> #ifdef __STDC__
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/parse.c10
-rw-r--r--usr.bin/make/util.c6
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index ce0a0aa034e..51f0e73ab4f 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.34 1997/07/01 21:17:34 christos Exp $ */
+/* $NetBSD: parse.c,v 1.35 1997/07/11 20:17:37 christos Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: parse.c,v 1.34 1997/07/01 21:17:34 christos Exp $");
+__RCSID("$NetBSD: parse.c,v 1.35 1997/07/11 20:17:37 christos Exp $");
#endif
#endif /* not lint */
@@ -89,7 +89,7 @@ __RCSID("$NetBSD: parse.c,v 1.34 1997/07/01 21:17:34 christos Exp $");
* Parse_MainName Returns a Lst of the main target to create.
*/
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
@@ -312,7 +312,7 @@ ParseFindKeyword (str)
*/
/* VARARGS */
void
-#if __STDC__
+#ifdef __STDC__
Parse_Error(int type, char *fmt, ...)
#else
Parse_Error(va_alist)
@@ -320,7 +320,7 @@ Parse_Error(va_alist)
#endif
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
int type; /* Error type (PARSE_WARNING, PARSE_FATAL) */
diff --git a/usr.bin/make/util.c b/usr.bin/make/util.c
index 00e911d3da6..a8a22acbefb 100644
--- a/usr.bin/make/util.c
+++ b/usr.bin/make/util.c
@@ -1,4 +1,4 @@
-/* $NetBSD: util.c,v 1.13 1997/07/11 20:16:01 christos Exp $ */
+/* $NetBSD: util.c,v 1.14 1997/07/11 20:17:38 christos Exp $ */
/*
* Missing stuff from OS's
@@ -6,14 +6,14 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: util.c,v 1.13 1997/07/11 20:16:01 christos Exp $");
+__RCSID("$NetBSD: util.c,v 1.14 1997/07/11 20:17:38 christos Exp $");
#endif
#include <stdio.h>
#include "make.h"
#include <sys/param.h>
-#if !__STDC__
+#ifndef __STDC__
# ifndef const
# define const
# endif