diff options
author | John Marriott <basilisk@internode.on.net> | 2024-07-14 11:12:51 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-07-14 11:15:07 +0200 |
commit | b3b2beea5e170f1ea39dd9a6a6bc110c36527778 (patch) | |
tree | a56b04744e6a9a3508ac95302f846474707befa5 | |
parent | 27c55984def4c6ff7afc89958c90f6018c474b2c (diff) |
patch 9.1.0584: Warning about redeclaring f_id() non-staticv9.1.0584
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>
-rw-r--r-- | src/evalfunc.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 584, +/**/ 583, /**/ 582, |