summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-10 21:27:18 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-10 21:27:18 +0200
commit840d16fd36bfd1a9fac8200e3dc016b1e3f9c328 (patch)
treee0b85aeb6c3da97a0f8096ef934372f9b297ba7b /src/terminal.c
parentd20dcb3d011da6111153109f6e46fbd5c7fe9fb6 (diff)
downloadvim-git-840d16fd36bfd1a9fac8200e3dc016b1e3f9c328.tar.gz
patch 8.1.2021: some global functions can be local to the filev8.1.2021
Problem: Some global functions can be local to the file. Solution: Add "static". (Yegappan Lakshmanan, closes #4917)
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 6d9fb2431..3d66bbb9b 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -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)