summaryrefslogtreecommitdiffstats
path: root/src/evalvars.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/evalvars.c
parent5d905c2b9612314f6d8616560800665056050adc (diff)
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/evalvars.c')
-rw-r--r--src/evalvars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalvars.c b/src/evalvars.c
index c4bc957fcd..d434d58788 100644
--- a/src/evalvars.c
+++ b/src/evalvars.c
@@ -2435,7 +2435,7 @@ find_var_in_ht(
/*
* Get the script-local hashtab. NULL if not in a script context.
*/
- hashtab_T *
+ static hashtab_T *
get_script_local_ht(void)
{
scid_T sid = current_sctx.sc_sid;