diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-08-09 19:59:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-09 19:59:06 +0200 |
commit | 8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b (patch) | |
tree | bf218a0a9a9a0c8c182aca16491f5063f79acce5 /src/list.c | |
parent | eed9616120f60ad17d5e133f505bba5c559aee89 (diff) | |
download | vim-git-8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b.tar.gz |
patch 8.2.3320: some local functions are not staticv8.2.3320
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734)
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c index bf24cee22..afbc7d395 100644 --- a/src/list.c +++ b/src/list.c @@ -620,7 +620,7 @@ list_append_tv(list_T *l, typval_T *tv) * As list_append_tv() but move the value instead of copying it. * Return FAIL when out of memory. */ - int + static int list_append_tv_move(list_T *l, typval_T *tv) { listitem_T *li = listitem_alloc(); |