From 309d899507adc62de5a6c37c32386898b44895fd Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Wed, 8 Sep 2021 10:18:51 +0900 Subject: unposted: add 'static' to shinsavestack --- ChangeLog | 2 ++ Src/input.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index da91b0c6c..fe9a3b4ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2021-09-08 Jun-ichi Takimoto + * 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 */ -- cgit 1.4.1