Skip to content

Commit de05ae7

Browse files
dpellebrammool
authored andcommitted
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)
1 parent a918712 commit de05ae7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/strings.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ csh_like_shell(void)
127127
/*
128128
* Return TRUE when 'shell' has "fish" in the tail.
129129
*/
130-
int
130+
static int
131131
fish_like_shell(void)
132132
{
133133
return (strstr((char *)gettail(p_sh), "fish") != NULL);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,8 @@ static char *(features[]) =
755755

756756
static int included_patches[] =
757757
{ /* Add new patch number below this line */
758+
/**/
759+
3387,
758760
/**/
759761
3386,
760762
/**/

0 commit comments

Comments
 (0)