summaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
authorross <ross@NetBSD.org>1999-08-04 02:54:56 +0000
committerross <ross@NetBSD.org>1999-08-04 02:54:56 +0000
commit0728723c317bdd44932eb3dea8ee4c2d86b734d2 (patch)
tree543628d09dd7178f410df2354b4c9759e2f9c314 /usr.bin/make/parse.c
parent11e9392b3e436b22e0151d3b4f66ee8012833da3 (diff)
Trivial speed hack.
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r--usr.bin/make/parse.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 242d071c480..8003f6a707a 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -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)