Mercurial > vim
diff src/ex_eval.c @ 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 | 072efa9ca875 |
children | 1febd1aa9930 |
line wrap: on
line diff
--- a/src/ex_eval.c +++ b/src/ex_eval.c @@ -839,7 +839,7 @@ report_make_pending(int pending, void *v * If something pending in a finally clause is resumed at the ":endtry", report * it if required by the 'verbose' option or when debugging. */ - void + static void report_resume_pending(int pending, void *value) { if (p_verbose >= 14 || debug_break_level > 0) @@ -856,7 +856,7 @@ report_resume_pending(int pending, void * If something pending in a finally clause is discarded, report it if required * by the 'verbose' option or when debugging. */ - void + static void report_discard_pending(int pending, void *value) { if (p_verbose >= 14 || debug_break_level > 0)