Mercurial > vim
comparison src/proto/dict.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 | fb773f73a4be |
comparison
equal
deleted
inserted
replaced
17788:2cf6b7b53b1d | 17789:0f7ae8010787 |
---|---|
30 char_u *dict2string(typval_T *tv, int copyID, int restore_copyID); | 30 char_u *dict2string(typval_T *tv, int copyID, int restore_copyID); |
31 int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate, int literal); | 31 int dict_get_tv(char_u **arg, typval_T *rettv, int evaluate, int literal); |
32 void dict_extend(dict_T *d1, dict_T *d2, char_u *action); | 32 void dict_extend(dict_T *d1, dict_T *d2, char_u *action); |
33 dictitem_T *dict_lookup(hashitem_T *hi); | 33 dictitem_T *dict_lookup(hashitem_T *hi); |
34 int dict_equal(dict_T *d1, dict_T *d2, int ic, int recursive); | 34 int dict_equal(dict_T *d1, dict_T *d2, int ic, int recursive); |
35 void dict_list(typval_T *argvars, typval_T *rettv, int what); | |
36 void f_items(typval_T *argvars, typval_T *rettv); | 35 void f_items(typval_T *argvars, typval_T *rettv); |
37 void f_keys(typval_T *argvars, typval_T *rettv); | 36 void f_keys(typval_T *argvars, typval_T *rettv); |
38 void f_values(typval_T *argvars, typval_T *rettv); | 37 void f_values(typval_T *argvars, typval_T *rettv); |
39 void dict_set_items_ro(dict_T *di); | 38 void dict_set_items_ro(dict_T *di); |
40 void f_has_key(typval_T *argvars, typval_T *rettv); | 39 void f_has_key(typval_T *argvars, typval_T *rettv); |