summaryrefslogtreecommitdiff
path: root/src/drawscreen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-05 18:56:05 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-05 18:56:05 +0200
commitbdff012f4416c75e65950a19688533c4def5abf6 (patch)
tree46033295fed951cbb0243f92902247dbfcaacb38 /src/drawscreen.c
parent5d905c2b9612314f6d8616560800665056050adc (diff)
downloadvim-git-bdff012f4416c75e65950a19688533c4def5abf6.tar.gz
patch 8.2.0514: several global functions are used in only one filev8.2.0514
Problem: Several global functions are used in only one file. Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884)
Diffstat (limited to 'src/drawscreen.c')
-rw-r--r--src/drawscreen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drawscreen.c b/src/drawscreen.c
index 17a385c92..c60d75b3c 100644
--- a/src/drawscreen.c
+++ b/src/drawscreen.c
@@ -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;