about summary refs log tree commit diff
path: root/Src/parse.c
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-03-18 17:45:23 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-03-22 02:23:52 +0000
commitbe73026b07decc3990b2a345c42a8f7b74d8f83d (patch)
treef20b75148c1c253623731d6effe71857e126d2b3 /Src/parse.c
parente94e828efd4835a45bab4e37f9e3b16fd09b3f78 (diff)
downloadzsh-be73026b07decc3990b2a345c42a8f7b74d8f83d.tar.gz
zsh-be73026b07decc3990b2a345c42a8f7b74d8f83d.tar.xz
zsh-be73026b07decc3990b2a345c42a8f7b74d8f83d.zip
45583/0002: internal: Reduce some variables' visibility. No functional change.
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/Src/parse.c b/Src/parse.c
index de1b27967..bd974a573 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -253,14 +253,13 @@ struct heredocs *hdocs;
  * to avoid a lot of string parsing and some more string duplication.
  */
 
-/**/
-int eclen, ecused, ecnpats;
-/**/
-Wordcode ecbuf;
-/**/
-Eccstr ecstrs;
-/**/
-int ecsoffs, ecssub, ecnfunc;
+static int eclen, ecused, ecnpats;
+
+static Wordcode ecbuf;
+
+static Eccstr ecstrs;
+
+static int ecsoffs, ecssub, ecnfunc;
 
 #define EC_INIT_SIZE         256
 #define EC_DOUBLE_THRESHOLD  32768