summary refs log tree commit diff
path: root/src/input.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-09-29 17:05:53 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-09-29 17:05:53 +0800
commit339b9c0781cca7afb0964c6a655cda8ad9cf9fc2 (patch)
treee9106c853e5d4ff385a60675b45a50ad707cc1c0 /src/input.h
parent[BUILTIN] Correctly handle test ! ! = ! (diff)
downloaddash-339b9c0781cca7afb0964c6a655cda8ad9cf9fc2.tar.gz
dash-339b9c0781cca7afb0964c6a655cda8ad9cf9fc2.zip
[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 <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/input.h b/src/input.h
index 50a7797..775291b 100644
--- a/src/input.h
+++ b/src/input.h
@@ -61,6 +61,3 @@ void setinputstring(char *);
 void popfile(void);
 void popallfiles(void);
 void closescript(void);
-
-#define pgetc_macro() \
-	(--parsenleft >= 0 ? (signed char)*parsenextc++ : preadbuffer())