about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 */