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:
committed by
Bram Moolenaar
parent
a918712626
commit
de05ae7158
@@ -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);
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user