commit | 8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b | [log] [tgz] |
---|---|---|
author | Yegappan Lakshmanan <yegappan@yahoo.com> | Mon Aug 09 19:59:06 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Aug 09 19:59:06 2021 +0200 |
tree | bf218a0a9a9a0c8c182aca16491f5063f79acce5 | |
parent | eed9616120f60ad17d5e133f505bba5c559aee89 [diff] [blame] |
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/spell.c b/src/spell.c index 46912ff..f472f99 100644 --- a/src/spell.c +++ b/src/spell.c
@@ -1240,7 +1240,7 @@ /* * Return TRUE if spell checking is not enabled. */ - int + static int no_spell_checking(win_T *wp) { if (!wp->w_p_spell || *wp->w_s->b_p_spl == NUL