0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

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)
This commit is contained in:
Yegappan Lakshmanan
2022-06-29 12:55:36 +01:00
committed by Bram Moolenaar
parent c207fd2535
commit ee47eaceaa
16 changed files with 40 additions and 20 deletions

View File

@@ -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;