0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.2021: some global functions can be local to the file

Problem:    Some global functions can be local to the file.
Solution:   Add "static". (Yegappan Lakshmanan, closes #4917)
This commit is contained in:
Bram Moolenaar
2019-09-10 21:27:18 +02:00
parent d20dcb3d01
commit 840d16fd36
18 changed files with 17 additions and 26 deletions

View File

@@ -875,7 +875,7 @@ free_scrollback(term_T *term)
// Terminals that need to be freed soon.
term_T *terminals_to_free = NULL;
static term_T *terminals_to_free = NULL;
/*
* Free a terminal and everything it refers to.
@@ -6024,7 +6024,7 @@ conpty_term_report_winsize(term_T *term, int rows, int cols)
pResizePseudoConsole(term->tl_conpty, consize);
}
void
static void
term_free_conpty(term_T *term)
{
if (term->tl_siex.lpAttributeList != NULL)