comparison src/proto/spell.pro @ 25567:0082503ff2ff v8.2.3320

patch 8.2.3320: some local functions are not static Commit: https://github.com/vim/vim/commit/8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Aug 9 19:59:06 2021 +0200 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)
author Bram Moolenaar <Bram@vim.org>
date Mon, 09 Aug 2021 20:00:06 +0200
parents 59cfa23bd9eb
children 087c42245022
comparison
equal deleted inserted replaced
25566:e1c7aa26ddf5 25567:0082503ff2ff
3 int match_checkcompoundpattern(char_u *ptr, int wlen, garray_T *gap); 3 int match_checkcompoundpattern(char_u *ptr, int wlen, garray_T *gap);
4 int can_compound(slang_T *slang, char_u *word, char_u *flags); 4 int can_compound(slang_T *slang, char_u *word, char_u *flags);
5 int match_compoundrule(slang_T *slang, char_u *compflags); 5 int match_compoundrule(slang_T *slang, char_u *compflags);
6 int valid_word_prefix(int totprefcnt, int arridx, int flags, char_u *word, slang_T *slang, int cond_req); 6 int valid_word_prefix(int totprefcnt, int arridx, int flags, char_u *word, slang_T *slang, int cond_req);
7 int spell_valid_case(int wordflags, int treeflags); 7 int spell_valid_case(int wordflags, int treeflags);
8 int no_spell_checking(win_T *wp);
9 int spell_move_to(win_T *wp, int dir, int allwords, int curline, hlf_T *attrp); 8 int spell_move_to(win_T *wp, int dir, int allwords, int curline, hlf_T *attrp);
10 void spell_cat_line(char_u *buf, char_u *line, int maxlen); 9 void spell_cat_line(char_u *buf, char_u *line, int maxlen);
11 char_u *spell_enc(void); 10 char_u *spell_enc(void);
12 slang_T *slang_alloc(char_u *lang); 11 slang_T *slang_alloc(char_u *lang);
13 void slang_free(slang_T *lp); 12 void slang_free(slang_T *lp);