summaryrefslogtreecommitdiff
path: root/src/version.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-05 18:56:05 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-05 18:56:05 +0200
commitbdff012f4416c75e65950a19688533c4def5abf6 (patch)
tree46033295fed951cbb0243f92902247dbfcaacb38 /src/version.c
parent5d905c2b9612314f6d8616560800665056050adc (diff)
downloadvim-git-bdff012f4416c75e65950a19688533c4def5abf6.tar.gz
patch 8.2.0514: several global functions are used in only one filev8.2.0514
Problem: Several global functions are used in only one file. Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
Diffstat (limited to 'src/version.c')
-rw-r--r--src/version.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index be99f998d..f881c1fb2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 514,
+/**/
513,
/**/
512,
@@ -2234,6 +2236,7 @@ list_version(void)
}
static void do_intro_line(int row, char_u *mesg, int add_version, int attr);
+static void intro_message(int colon);
/*
* Show the intro message when not editing a file.
@@ -2253,7 +2256,7 @@ maybe_intro_message(void)
* Only used when starting Vim on an empty file, without a file name.
* Or with the ":intro" command (for Sven :-).
*/
- void
+ static void
intro_message(
int colon) // TRUE for ":intro"
{