aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2021-09-08 10:18:51 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2021-09-08 10:18:51 +0900
commit309d899507adc62de5a6c37c32386898b44895fd (patch)
tree6d1b188317e957c038c3a2968b513bd5ea413667
parent2a7945a900c8a1b1866ad31ee5e95db5b0ddb50a (diff)
downloadzsh-309d899507adc62de5a6c37c32386898b44895fd.tar.gz
zsh-309d899507adc62de5a6c37c32386898b44895fd.tar.xz
zsh-309d899507adc62de5a6c37c32386898b44895fd.zip
unposted: add 'static' to shinsavestack
-rw-r--r--ChangeLog2
-rw-r--r--Src/input.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index da91b0c6c..fe9a3b4ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2021-09-08 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+ * unposted: Src/input.c: add 'static' to shinsavestack
+
* 49377: Src/Zle/zle_keymap.c, Test/X03zlebindkey.ztst: fix
segfalut by 'bindkey -d' with reordered keymapnamtab
diff --git a/Src/input.c b/Src/input.c
index 3c6ad7002..caeaff0e3 100644
--- a/Src/input.c
+++ b/Src/input.c
@@ -150,7 +150,7 @@ struct shinsaveentry {
};
/* SHIN buffer save stack */
-struct shinsaveentry *shinsavestack;
+static struct shinsaveentry *shinsavestack;
/* Reset the input buffer for SHIN, discarding any pending input */