From de05ae71589f46c5d27642c33fe5eb21b22aaf5d Mon Sep 17 00:00:00 2001 From: Dominique Pelle Date: Mon, 30 Aug 2021 19:57:34 +0200 Subject: [PATCH] patch 8.2.3387: compiler warning for non-static function MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Problem: Compiler warning for non-static function. Solution: Make the function static. (Dominique Pellé, closes #8816) --- src/strings.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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); diff --git a/src/version.c b/src/version.c index 1d657163b..af45dedff 100644 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3387, /**/ 3386, /**/ -- 2.50.1