comparison src/drawscreen.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 9e428147e4ee
children 3ff714d765ba
comparison
equal deleted inserted replaced
19915:882299cf6a38 19916:dcec86d796bc
71 #endif 71 #endif
72 #if defined(FEAT_SEARCH_EXTRA) || defined(FEAT_CLIPBOARD) 72 #if defined(FEAT_SEARCH_EXTRA) || defined(FEAT_CLIPBOARD)
73 static int did_update_one_window; 73 static int did_update_one_window;
74 #endif 74 #endif
75 75
76 static void win_redr_status(win_T *wp, int ignore_pum);
77
76 /* 78 /*
77 * Based on the current value of curwin->w_topline, transfer a screenfull 79 * Based on the current value of curwin->w_topline, transfer a screenfull
78 * of stuff from Filemem to ScreenLines[], and update curwin->w_botline. 80 * of stuff from Filemem to ScreenLines[], and update curwin->w_botline.
79 * Return OK when the screen was updated, FAIL if it was not done. 81 * Return OK when the screen was updated, FAIL if it was not done.
80 */ 82 */
380 * 382 *
381 * If inversion is possible we use it. Else '=' characters are used. 383 * If inversion is possible we use it. Else '=' characters are used.
382 * If "ignore_pum" is TRUE, also redraw statusline when the popup menu is 384 * If "ignore_pum" is TRUE, also redraw statusline when the popup menu is
383 * displayed. 385 * displayed.
384 */ 386 */
385 void 387 static void
386 win_redr_status(win_T *wp, int ignore_pum UNUSED) 388 win_redr_status(win_T *wp, int ignore_pum UNUSED)
387 { 389 {
388 int row; 390 int row;
389 char_u *p; 391 char_u *p;
390 int len; 392 int len;