diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2016-02-03 01:24:56 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2016-02-03 01:25:33 +0900 |
commit | a4020e10a33f3f78681a2e18fb7add56338d4e81 (patch) | |
tree | 8a189e89ca1be9c11bb7c444c57c03c35b24e7de /Src/Zle | |
parent | 69acac38c90559eb2138d3fd7cd852ff73a77fdd (diff) | |
download | zsh-a4020e10a33f3f78681a2e18fb7add56338d4e81.tar.gz zsh-a4020e10a33f3f78681a2e18fb7add56338d4e81.tar.xz zsh-a4020e10a33f3f78681a2e18fb7add56338d4e81.zip |
37868: add 'static' to file local variables
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/complist.c | 2 | ||||
-rw-r--r-- | Src/Zle/zle_misc.c | 2 | ||||
-rw-r--r-- | Src/Zle/zle_utils.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 0ccb88505..06a07a4e8 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -113,7 +113,7 @@ static Cmgroup *mgtab, *mgtabp; * Allow us to keep track of pointer arithmetic for mgtab; could * just as well have been for mtab but wasn't. */ -int mgtabsize; +static int mgtabsize; #endif /* diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c index 0483f758d..25f65b39c 100644 --- a/Src/Zle/zle_misc.c +++ b/Src/Zle/zle_misc.c @@ -1497,7 +1497,7 @@ struct suffixset { }; /* The list of suffix structures */ -struct suffixset *suffixlist; +static struct suffixset *suffixlist; /* Shell function to call to remove the suffix. */ diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c index a2c88102a..68794c66a 100644 --- a/Src/Zle/zle_utils.c +++ b/Src/Zle/zle_utils.c @@ -587,7 +587,7 @@ struct zle_position { }; /* LIFO stack of positions */ -struct zle_position *zle_positions; +static struct zle_position *zle_positions; /* * Save positions including cursor, end-of-line and @@ -1412,7 +1412,7 @@ zlong undo_changeno; /* If positive, don't undo beyond this point */ -zlong undo_limitno; +static zlong undo_limitno; /**/ void |