diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-06-29 12:55:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-29 12:55:36 +0100 |
commit | ee47eaceaa148e07b566ff420f9a3c2edde2fa34 (patch) | |
tree | 990dc0d8074d51970ecc83ad94a59e884687a313 /src/evalvars.c | |
parent | c207fd2535717030d78f9b92839e5f2ac004cc78 (diff) | |
download | vim-git-ee47eaceaa148e07b566ff420f9a3c2edde2fa34.tar.gz |
patch 9.0.0003: functions are global while they could be localv9.0.0003
Problem: Functions are global while they could be local.
Solution: Add "static". Add a few tests. (Yegappan Lakshmanan,
closes #10612)
Diffstat (limited to 'src/evalvars.c')
-rw-r--r-- | src/evalvars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalvars.c b/src/evalvars.c index f7939cbb7..779627c45 100644 --- a/src/evalvars.c +++ b/src/evalvars.c @@ -648,7 +648,7 @@ eval_one_expr_in_str(char_u *p, garray_T *gap, int evaluate) * Used for a heredoc assignment. * Returns NULL for an error. */ - char_u * + static char_u * eval_all_expr_in_str(char_u *str) { garray_T ga; |