From: John Marriott Date: Sun, 14 Jul 2024 09:12:51 +0000 (+0200) Subject: patch 9.1.0584: Warning about redeclaring f_id() non-static X-Git-Tag: v9.1.0584^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3b2beea5e170f1ea39dd9a6a6bc110c36527778;p=thirdparty%2Fvim.git patch 9.1.0584: Warning about redeclaring f_id() non-static Problem: Warning about redeclaring f_id() non-static Solution: Declare f_id() static (John Marriott) closes: #15257 Signed-off-by: John Marriott Signed-off-by: Christian Brabandt --- diff --git a/src/evalfunc.c b/src/evalfunc.c index c09242101a..a5e4b208c0 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -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]; diff --git a/src/version.c b/src/version.c index 6633b7bea9..c0fdd466b9 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 584, /**/ 583, /**/