1
0
forked from aniani/vim

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 <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
John Marriott
2024-07-14 11:12:51 +02:00
committed by Christian Brabandt
parent 27c55984de
commit b3b2beea5e
2 changed files with 3 additions and 1 deletions

View File

@@ -7534,7 +7534,7 @@ f_hostname(typval_T *argvars UNUSED, typval_T *rettv)
* Currently only valid for object/container types. * Currently only valid for object/container types.
* Return empty string if not an object. * Return empty string if not an object.
*/ */
void static void
f_id(typval_T *argvars, typval_T *rettv) f_id(typval_T *argvars, typval_T *rettv)
{ {
char numbuf[NUMBUFLEN]; char numbuf[NUMBUFLEN];

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
584,
/**/ /**/
583, 583,
/**/ /**/