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/quickfix.c | |
parent | 9a4a8c4d5993c6371486c895a515c2ad351e9aaa (diff) | |
download | vim-git-5843f5f37b0632e2d706abc9014bfd7d98f7b02e.tar.gz |
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/quickfix.c')
-rw-r--r-- | src/quickfix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index 8c2591532..d4ac847d5 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -167,6 +167,7 @@ static int qf_get_fnum(qf_list_T *qfl, char_u *, char_u *); static char_u *qf_push_dir(char_u *, struct dir_stack_T **, int is_file_stack); static char_u *qf_pop_dir(struct dir_stack_T **); static char_u *qf_guess_filepath(qf_list_T *qfl, char_u *); +static void qf_jump_newwin(qf_info_T *qi, int dir, int errornr, int forceit, int newwin); static void qf_fmt_text(char_u *text, char_u *buf, int bufsize); static int qf_win_pos_update(qf_info_T *qi, int old_qf_index); static win_T *qf_find_win(qf_info_T *qi); @@ -3363,7 +3364,7 @@ qf_jump(qf_info_T *qi, * If 'forceit' is TRUE, then can discard changes to the current buffer. * If 'newwin' is TRUE, then open the file in a new window. */ - void + static void qf_jump_newwin(qf_info_T *qi, int dir, int errornr, |