Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/proto/getchar.pro +++ b/src/proto/getchar.pro @@ -30,8 +30,6 @@ int typebuf_changed(int tb_change_cnt); int typebuf_typed(void); int typebuf_maplen(void); void del_typebuf(int len, int offset); -int alloc_typebuf(void); -void free_typebuf(void); int save_typebuf(void); void save_typeahead(tasave_T *tp); void restore_typeahead(tasave_T *tp); @@ -39,7 +37,6 @@ void openscript(char_u *name, int direct void close_all_scripts(void); int using_script(void); void before_blocking(void); -void updatescript(int c); int vgetc(void); int safe_vgetc(void); int plain_vgetc(void);