Trivial speed hack.

This commit is contained in:
ross 1999-08-04 02:54:56 +00:00
parent 11e9392b3e
commit 0728723c31
2 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.18 1997/10/24 09:00:47 lukem Exp $
# $NetBSD: Makefile,v 1.19 1999/08/04 02:54:56 ross Exp $
# @(#)Makefile 5.2 (Berkeley) 12/28/90
CPPFLAGS+= -I${.CURDIR}
CFLAGS+= -pg
LDFLAGS+= -pg
PROG= make
SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
make.c parse.c str.c suff.c targ.c var.c util.c

View File

@ -1,4 +1,4 @@
/* $NetBSD: parse.c,v 1.42 1999/06/02 18:47:11 christos Exp $ */
/* $NetBSD: parse.c,v 1.43 1999/08/04 02:54:57 ross Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@ -39,14 +39,14 @@
*/
#ifdef MAKE_BOOTSTRAP
static char rcsid[] = "$NetBSD: parse.c,v 1.42 1999/06/02 18:47:11 christos Exp $";
static char rcsid[] = "$NetBSD: parse.c,v 1.43 1999/08/04 02:54:57 ross Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94";
#else
__RCSID("$NetBSD: parse.c,v 1.42 1999/06/02 18:47:11 christos Exp $");
__RCSID("$NetBSD: parse.c,v 1.43 1999/08/04 02:54:57 ross Exp $");
#endif
#endif /* not lint */
#endif
@ -253,7 +253,7 @@ static int ParseAddDir __P((ClientData, ClientData));
static int ParseClearPath __P((ClientData, ClientData));
static void ParseDoDependency __P((char *));
static int ParseAddCmd __P((ClientData, ClientData));
static int ParseReadc __P((void));
static __inline int ParseReadc __P((void));
static void ParseUnreadc __P((int));
static void ParseHasCommands __P((ClientData));
static void ParseDoInclude __P((char *));
@ -2071,7 +2071,7 @@ ParseEOF (opened)
* Side Effects:
*---------------------------------------------------------------------
*/
static int
static __inline int
ParseReadc()
{
if (curFILE)