diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-20 20:13:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-20 20:13:45 +0200 |
commit | 5843f5f37b0632e2d706abc9014bfd7d98f7b02e (patch) | |
tree | 2f1af5fd16214dfdf8edc8717e06a8b0aab81c1a /src/proto/buffer.pro | |
parent | 9a4a8c4d5993c6371486c895a515c2ad351e9aaa (diff) |
patch 8.1.1891: functions used in one file are globalv8.1.1891
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
Diffstat (limited to 'src/proto/buffer.pro')
-rw-r--r-- | src/proto/buffer.pro | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/proto/buffer.pro b/src/proto/buffer.pro index ac455679fe..0378b15022 100644 --- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -12,7 +12,6 @@ void handle_swap_exists(bufref_T *old_curbuf); char *do_bufdel(int command, char_u *arg, int addr_count, int start_bnr, int end_bnr, int forceit); int do_buffer(int action, int start, int dir, int count, int forceit); void set_curbuf(buf_T *buf, int action); -void enter_buffer(buf_T *buf); void do_autochdir(void); void no_write_message(void); void no_write_message_nobang(buf_T *buf); @@ -20,7 +19,6 @@ int curbuf_reusable(void); buf_T *buflist_new(char_u *ffname_arg, char_u *sfname_arg, linenr_T lnum, int flags); void free_buf_options(buf_T *buf, int free_p_ff); int buflist_getfile(int n, linenr_T lnum, int options, int forceit); -void buflist_getfpos(void); buf_T *buflist_findname_exp(char_u *fname); buf_T *buflist_findname(char_u *ffname); int buflist_findpat(char_u *pattern, char_u *pattern_end, int unlisted, int diffmode, int curtab_only); @@ -68,7 +66,6 @@ int buf_hide(buf_T *buf); char_u *buf_spname(buf_T *buf); void switch_to_win_for_buf(buf_T *buf, win_T **save_curwinp, tabpage_T **save_curtabp, bufref_T *save_curbuf); void restore_win_for_buf(win_T *save_curwin, tabpage_T *save_curtab, bufref_T *save_curbuf); -int find_win_for_buf(buf_T *buf, win_T **wp, tabpage_T **tp); void set_buflisted(int on); int buf_contents_changed(buf_T *buf); void wipe_buffer(buf_T *buf, int aucmd); |