commit | ee47eaceaa148e07b566ff420f9a3c2edde2fa34 | [log] [tgz] |
---|---|---|
author | Yegappan Lakshmanan <yegappan@yahoo.com> | Wed Jun 29 12:55:36 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jun 29 12:55:36 2022 +0100 |
tree | 990dc0d8074d51970ecc83ad94a59e884687a313 | |
parent | c207fd2535717030d78f9b92839e5f2ac004cc78 [diff] [blame] |
patch 9.0.0003: functions are global while they could be local Problem: Functions are global while they could be local. Solution: Add "static". Add a few tests. (Yegappan Lakshmanan, closes #10612)
diff --git a/src/evalvars.c b/src/evalvars.c index f7939cb..779627c 100644 --- a/src/evalvars.c +++ b/src/evalvars.c
@@ -648,7 +648,7 @@ * 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;