eval/typval: Make tv_list_item_alloc static

Better write this bit in lua then make reviewers or clint filter out 
tv_list_item_alloc().
This commit is contained in:
ZyX
2017-12-24 01:52:11 +03:00
parent 0c533a488f
commit 6bf3dc77c4
2 changed files with 8 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ const char *const tv_empty_string = "";
/// and specifically set lv_lock.
///
/// @return [allocated] new list item.
listitem_T *tv_list_item_alloc(void)
static listitem_T *tv_list_item_alloc(void)
FUNC_ATTR_NONNULL_RET FUNC_ATTR_MALLOC
{
return xmalloc(sizeof(listitem_T));