]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0584: Warning about redeclaring f_id() non-static v9.1.0584
authorJohn Marriott <basilisk@internode.on.net>
Sun, 14 Jul 2024 09:12:51 +0000 (11:12 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 14 Jul 2024 09:15:07 +0000 (11:15 +0200)
Problem:  Warning about redeclaring f_id() non-static
Solution: Declare f_id() static (John Marriott)

closes: #15257

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/evalfunc.c
src/version.c

index c09242101a70baaad61cbfbc8e7bc1215d3232e6..a5e4b208c05f20b1e57ab22f647c7ee11e76a826 100644 (file)
@@ -7534,7 +7534,7 @@ f_hostname(typval_T *argvars UNUSED, typval_T *rettv)
  * Currently only valid for object/container types.
  * Return empty string if not an object.
  */
-    void
+    static void
 f_id(typval_T *argvars, typval_T *rettv)
 {
     char    numbuf[NUMBUFLEN];
index 6633b7bea9048570a798c0b1b045d72df3dcc8f1..c0fdd466b90512fadece092624351a7cf563c127 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    584,
 /**/
     583,
 /**/