#if __STDC__ -> #ifdef __STDC__

This commit is contained in:
christos 1997-07-11 20:17:37 +00:00
parent 4507c82bcc
commit 87d111ebee
2 changed files with 8 additions and 8 deletions

View File

@ -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) */

View File

@ -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