patch 8.2.3320: some local functions are not static
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734)
diff --git a/src/digraph.c b/src/digraph.c
index 4a18539..2bc02eb 100644
--- a/src/digraph.c
+++ b/src/digraph.c
@@ -2029,7 +2029,7 @@
* If they are valid, returns TRUE; otherwise, give an error message and
* returns FALSE.
*/
- int
+ static int
check_digraph_chars_valid(int char1, int char2)
{
if (char2 == 0)
@@ -2193,7 +2193,7 @@
li2->li_tv.vval.v_string = vim_strsave(buf);
}
- void
+ static void
digraph_getlist_common(int list_all, typval_T *rettv)
{
int i;