Mercurial > vim
comparison src/proto/getchar.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 | 97a750e8707f |
children | a1396a35444c |
comparison
equal
deleted
inserted
replaced
17788:2cf6b7b53b1d | 17789:0f7ae8010787 |
---|---|
28 void ins_char_typebuf(int c); | 28 void ins_char_typebuf(int c); |
29 int typebuf_changed(int tb_change_cnt); | 29 int typebuf_changed(int tb_change_cnt); |
30 int typebuf_typed(void); | 30 int typebuf_typed(void); |
31 int typebuf_maplen(void); | 31 int typebuf_maplen(void); |
32 void del_typebuf(int len, int offset); | 32 void del_typebuf(int len, int offset); |
33 int alloc_typebuf(void); | |
34 void free_typebuf(void); | |
35 int save_typebuf(void); | 33 int save_typebuf(void); |
36 void save_typeahead(tasave_T *tp); | 34 void save_typeahead(tasave_T *tp); |
37 void restore_typeahead(tasave_T *tp); | 35 void restore_typeahead(tasave_T *tp); |
38 void openscript(char_u *name, int directly); | 36 void openscript(char_u *name, int directly); |
39 void close_all_scripts(void); | 37 void close_all_scripts(void); |
40 int using_script(void); | 38 int using_script(void); |
41 void before_blocking(void); | 39 void before_blocking(void); |
42 void updatescript(int c); | |
43 int vgetc(void); | 40 int vgetc(void); |
44 int safe_vgetc(void); | 41 int safe_vgetc(void); |
45 int plain_vgetc(void); | 42 int plain_vgetc(void); |
46 int vpeekc(void); | 43 int vpeekc(void); |
47 int vpeekc_nomap(void); | 44 int vpeekc_nomap(void); |