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.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
fish_like_shell(void)
|
||||
{
|
||||
return (strstr((char *)gettail(p_sh), "fish") != NULL);
|
||||
|
Reference in New Issue
Block a user