]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0026: The ss_pending_cmds variable is visible globally v9.2.0026
authorFoxe Chen <chen.foxe@gmail.com>
Thu, 19 Feb 2026 16:06:47 +0000 (16:06 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 19 Feb 2026 16:06:47 +0000 (16:06 +0000)
Problem:  The ss_pending_cmds variable is visible globally
Solution: Make it static (Foxe Chen).

closes: #19461

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/os_unix.c
src/version.c

index 1bc05b41d6d168f518a925e09e0e0231674b3949..c7ca383d04f5ba43f0436b05eda5431de776665b 100644 (file)
@@ -222,7 +222,7 @@ typedef struct ss_pending_cmd_S {
     struct ss_pending_cmd_S *next;  // Next in list
 } ss_pending_cmd_T;
 
-ss_pending_cmd_T *ss_pending_cmds;
+static ss_pending_cmd_T *ss_pending_cmds;
 
 // Serial is always greater than zero
 static uint32_t ss_serial = 0;
index fa0ca1f30d6649259978347daeb53dfe05ad6e16..2a85c543d4af3e8878f9b289db1c621909b6651c 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    26,
 /**/
     25,
 /**/