patch 9.1.0584: Warning about redeclaring f_id() non-static
Commit:
https://github.com/vim/vim/commit/b3b2beea5e170f1ea39dd9a6a6bc110c36527778
Author: John Marriott <[email protected]>
Date: Sun Jul 14 11:12:51 2024 +0200
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1sTxv1-0091In-Fi%40256bit.org.