From b3b2beea5e170f1ea39dd9a6a6bc110c36527778 Mon Sep 17 00:00:00 2001 From: John Marriott Date: Sun, 14 Jul 2024 11:12:51 +0200 Subject: [PATCH] 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 --- src/evalfunc.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/evalfunc.c b/src/evalfunc.c index c09242101..a5e4b208c 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 6633b7bea..c0fdd466b 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, /**/