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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user