diff src/version.c @ 19916:dcec86d796bc v8.2.0514

patch 8.2.0514: several global functions are used in only one file Commit: https://github.com/vim/vim/commit/bdff012f4416c75e65950a19688533c4def5abf6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 5 18:56:05 2020 +0200 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 https://github.com/vim/vim/issues/5884)
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Apr 2020 19:00:37 +0200
parents 6babfd2d15e9
children ccfeae6af59e
line wrap: on
line diff
--- 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"
 {