Mercurial > vim
comparison src/proto/spell.pro @ 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 | 55ccc2d353bd |
children | 079e10a49ea1 |
comparison
equal
deleted
inserted
replaced
17788:2cf6b7b53b1d | 17789:0f7ae8010787 |
---|---|
17 void spell_reload(void); | 17 void spell_reload(void); |
18 buf_T *open_spellbuf(void); | 18 buf_T *open_spellbuf(void); |
19 void close_spellbuf(buf_T *buf); | 19 void close_spellbuf(buf_T *buf); |
20 void clear_spell_chartab(spelltab_T *sp); | 20 void clear_spell_chartab(spelltab_T *sp); |
21 void init_spell_chartab(void); | 21 void init_spell_chartab(void); |
22 int spell_iswordp_nmw(char_u *p, win_T *wp); | |
23 int spell_casefold(char_u *str, int len, char_u *buf, int buflen); | 22 int spell_casefold(char_u *str, int len, char_u *buf, int buflen); |
24 int spell_check_sps(void); | 23 int spell_check_sps(void); |
25 void spell_suggest(int count); | 24 void spell_suggest(int count); |
26 void ex_spellrepall(exarg_T *eap); | 25 void ex_spellrepall(exarg_T *eap); |
27 void spell_suggest_list(garray_T *gap, char_u *word, int maxcount, int need_cap, int interactive); | 26 void spell_suggest_list(garray_T *gap, char_u *word, int maxcount, int need_cap, int interactive); |