1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-22 04:31:14 +02:00

45583/0002: internal: Reduce some variables' visibility. No functional change.

This commit is contained in:
Daniel Shahaf 2020-03-18 17:45:23 +00:00
parent e94e828efd
commit be73026b07
2 changed files with 10 additions and 8 deletions

View file

@ -1,5 +1,8 @@
2020-03-22 Daniel Shahaf <d.s@daniel.shahaf.name>
* 45583/0002: Src/parse.c: internal: Reduce some variables'
visibility. No functional change.
* 45583/0001: Src/exec.c: internal: Remove a redundant
assignment.

View file

@ -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