1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2020-04-05 18:56:05 +02:00
parent 5d905c2b96
commit bdff012f44
10 changed files with 13 additions and 12 deletions

View File

@@ -73,6 +73,8 @@ static void redraw_custom_statusline(win_T *wp);
static int did_update_one_window;
#endif
static void win_redr_status(win_T *wp, int ignore_pum);
/*
* Based on the current value of curwin->w_topline, transfer a screenfull
* of stuff from Filemem to ScreenLines[], and update curwin->w_botline.
@@ -382,7 +384,7 @@ update_screen(int type_arg)
* If "ignore_pum" is TRUE, also redraw statusline when the popup menu is
* displayed.
*/
void
static void
win_redr_status(win_T *wp, int ignore_pum UNUSED)
{
int row;