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 #4840)
diff --git a/src/ex_eval.c b/src/ex_eval.c
index 25a8684..f1a8b97 100644
--- a/src/ex_eval.c
+++ b/src/ex_eval.c
@@ -839,7 +839,7 @@
* 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 @@
* 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)