comparison src/list.c @ 25567:0082503ff2ff v8.2.3320

patch 8.2.3320: some local functions are not static Commit: https://github.com/vim/vim/commit/8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Aug 9 19:59:06 2021 +0200 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)
author Bram Moolenaar <Bram@vim.org>
date Mon, 09 Aug 2021 20:00:06 +0200
parents 7144d2ffc86b
children ea69398b40d1
comparison
equal deleted inserted replaced
25566:e1c7aa26ddf5 25567:0082503ff2ff
618 618
619 /* 619 /*
620 * As list_append_tv() but move the value instead of copying it. 620 * As list_append_tv() but move the value instead of copying it.
621 * Return FAIL when out of memory. 621 * Return FAIL when out of memory.
622 */ 622 */
623 int 623 static int
624 list_append_tv_move(list_T *l, typval_T *tv) 624 list_append_tv_move(list_T *l, typval_T *tv)
625 { 625 {
626 listitem_T *li = listitem_alloc(); 626 listitem_T *li = listitem_alloc();
627 627
628 if (li == NULL) 628 if (li == NULL)