patch 8.2.0514: several global functions are used in only one file
Problem: Several global functions are used in only one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
diff --git a/src/version.c b/src/version.c
index be99f99..f881c1f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 514,
+/**/
513,
/**/
512,
@@ -2234,6 +2236,7 @@
}
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 @@
* 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"
{