1
0
forked from aniani/vim

patch 8.2.3320: some local functions are not static

Problem:    Some local functions are not static.
Solution:   Add "static".  Move snprintf() related code to strings.c.
            (Yegappan Lakshmanan, closes #8734)
This commit is contained in:
Yegappan Lakshmanan
2021-08-09 19:59:06 +02:00
committed by Bram Moolenaar
parent eed9616120
commit 8ee52affe7
31 changed files with 1303 additions and 1327 deletions

View File

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