From 339b9c0781cca7afb0964c6a655cda8ad9cf9fc2 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 29 Sep 2014 17:05:53 +0800 Subject: [INPUT] Kill pgetc_macro pgetc_macro is identical to pgetc except that it's a macro and pgetc isn't. Since there is very little performance difference on modern systems it's time to kill pgetc_macro. Signed-off-by: Herbert Xu --- src/parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parser.c') diff --git a/src/parser.c b/src/parser.c index 572cbcd..c4eaae2 100644 --- a/src/parser.c +++ b/src/parser.c @@ -775,7 +775,7 @@ xxreadtoken(void) setprompt(2); } for (;;) { /* until token or start of word found */ - c = pgetc_macro(); + c = pgetc(); switch (c) { case ' ': case '\t': case PEOA: @@ -1009,7 +1009,7 @@ quotemark: USTPUTC(c, out); } } - c = pgetc_macro(); + c = pgetc(); } } endword: -- cgit 1.4.1