comparison 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
comparison
equal deleted inserted replaced
17788:2cf6b7b53b1d 17789:0f7ae8010787
837 837
838 /* 838 /*
839 * If something pending in a finally clause is resumed at the ":endtry", report 839 * If something pending in a finally clause is resumed at the ":endtry", report
840 * it if required by the 'verbose' option or when debugging. 840 * it if required by the 'verbose' option or when debugging.
841 */ 841 */
842 void 842 static void
843 report_resume_pending(int pending, void *value) 843 report_resume_pending(int pending, void *value)
844 { 844 {
845 if (p_verbose >= 14 || debug_break_level > 0) 845 if (p_verbose >= 14 || debug_break_level > 0)
846 { 846 {
847 if (debug_break_level <= 0) 847 if (debug_break_level <= 0)
854 854
855 /* 855 /*
856 * If something pending in a finally clause is discarded, report it if required 856 * If something pending in a finally clause is discarded, report it if required
857 * by the 'verbose' option or when debugging. 857 * by the 'verbose' option or when debugging.
858 */ 858 */
859 void 859 static void
860 report_discard_pending(int pending, void *value) 860 report_discard_pending(int pending, void *value)
861 { 861 {
862 if (p_verbose >= 14 || debug_break_level > 0) 862 if (p_verbose >= 14 || debug_break_level > 0)
863 { 863 {
864 if (debug_break_level <= 0) 864 if (debug_break_level <= 0)