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