summaryrefslogtreecommitdiff
path: root/src/strings.c
diff options
context:
space:
mode:
authorDominique Pelle <dominique.pelle@gmail.com>2021-08-30 19:57:34 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-30 19:57:34 +0200
commitde05ae71589f46c5d27642c33fe5eb21b22aaf5d (patch)
tree1a7d5addacd1ebe0d0db9c374cd6742634c40173 /src/strings.c
parenta91871262670f9d3a4e5d1c5c6dbc02f85625f7d (diff)
downloadvim-git-de05ae71589f46c5d27642c33fe5eb21b22aaf5d.tar.gz
patch 8.2.3387: compiler warning for non-static functionv8.2.3387
Problem: Compiler warning for non-static function. Solution: Make the function static. (Dominique Pellé, closes #8816)
Diffstat (limited to 'src/strings.c')
-rw-r--r--src/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.c b/src/strings.c
index 566f4dab4..0c9e20d17 100644
--- a/src/strings.c
+++ b/src/strings.c
@@ -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);