comparison src/proto/list.pro @ 17789:0f7ae8010787 v8.1.1891

patch 8.1.1891: functions used in one file are global commit https://github.com/vim/vim/commit/5843f5f37b0632e2d706abc9014bfd7d98f7b02e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 20 20:13:45 2019 +0200 patch 8.1.1891: functions used in one file are global Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4840)
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Aug 2019 20:15:07 +0200
parents ef23ec1eee54
children 6d4d3bce365d
comparison
equal deleted inserted replaced
17788:2cf6b7b53b1d 17789:0f7ae8010787
1 /* list.c */ 1 /* list.c */
2 void list_add_watch(list_T *l, listwatch_T *lw); 2 void list_add_watch(list_T *l, listwatch_T *lw);
3 void list_rem_watch(list_T *l, listwatch_T *lwrem); 3 void list_rem_watch(list_T *l, listwatch_T *lwrem);
4 void list_fix_watch(list_T *l, listitem_T *item);
5 list_T *list_alloc(void); 4 list_T *list_alloc(void);
6 list_T *list_alloc_id(alloc_id_T id); 5 list_T *list_alloc_id(alloc_id_T id);
7 int rettv_list_alloc(typval_T *rettv); 6 int rettv_list_alloc(typval_T *rettv);
8 int rettv_list_alloc_id(typval_T *rettv, alloc_id_T id); 7 int rettv_list_alloc_id(typval_T *rettv, alloc_id_T id);
9 void rettv_list_set(typval_T *rettv, list_T *l); 8 void rettv_list_set(typval_T *rettv, list_T *l);