comparison 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
comparison
equal deleted inserted replaced
19915:882299cf6a38 19916:dcec86d796bc
736 NULL 736 NULL
737 }; 737 };
738 738
739 static int included_patches[] = 739 static int included_patches[] =
740 { /* Add new patch number below this line */ 740 { /* Add new patch number below this line */
741 /**/
742 514,
741 /**/ 743 /**/
742 513, 744 513,
743 /**/ 745 /**/
744 512, 746 512,
745 /**/ 747 /**/
2232 version_msg(_(" DEBUG BUILD")); 2234 version_msg(_(" DEBUG BUILD"));
2233 #endif 2235 #endif
2234 } 2236 }
2235 2237
2236 static void do_intro_line(int row, char_u *mesg, int add_version, int attr); 2238 static void do_intro_line(int row, char_u *mesg, int add_version, int attr);
2239 static void intro_message(int colon);
2237 2240
2238 /* 2241 /*
2239 * Show the intro message when not editing a file. 2242 * Show the intro message when not editing a file.
2240 */ 2243 */
2241 void 2244 void
2251 /* 2254 /*
2252 * Give an introductory message about Vim. 2255 * Give an introductory message about Vim.
2253 * Only used when starting Vim on an empty file, without a file name. 2256 * Only used when starting Vim on an empty file, without a file name.
2254 * Or with the ":intro" command (for Sven :-). 2257 * Or with the ":intro" command (for Sven :-).
2255 */ 2258 */
2256 void 2259 static void
2257 intro_message( 2260 intro_message(
2258 int colon) // TRUE for ":intro" 2261 int colon) // TRUE for ":intro"
2259 { 2262 {
2260 int i; 2263 int i;
2261 int row; 2264 int row;