0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.3387: compiler warning for non-static function

Problem:    Compiler warning for non-static function.
Solution:   Make the function static. (Dominique Pellé, closes #8816)
This commit is contained in:
Dominique Pelle
2021-08-30 19:57:34 +02:00
committed by Bram Moolenaar
parent a918712626
commit de05ae7158
2 changed files with 3 additions and 1 deletions

View File

@@ -127,7 +127,7 @@ csh_like_shell(void)
/* /*
* Return TRUE when 'shell' has "fish" in the tail. * Return TRUE when 'shell' has "fish" in the tail.
*/ */
int static int
fish_like_shell(void) fish_like_shell(void)
{ {
return (strstr((char *)gettail(p_sh), "fish") != NULL); return (strstr((char *)gettail(p_sh), "fish") != NULL);

View File

@@ -755,6 +755,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 */
/**/
3387,
/**/ /**/
3386, 3386,
/**/ /**/