forked from aniani/vim
patch 8.1.0443: unnecessary static function prototypes
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
This commit is contained in:
@@ -296,7 +296,6 @@
|
||||
|
||||
static int set_spell_finish(spelltab_T *new_st);
|
||||
static int write_spell_prefcond(FILE *fd, garray_T *gap);
|
||||
static char_u *read_cnt_string(FILE *fd, int cnt_bytes, int *lenp);
|
||||
static int read_region_section(FILE *fd, slang_T *slang, int len);
|
||||
static int read_charflags_section(FILE *fd);
|
||||
static int read_prefcond_section(FILE *fd, slang_T *lp);
|
||||
@@ -312,7 +311,6 @@ static int *mb_str2wide(char_u *s);
|
||||
#endif
|
||||
static int spell_read_tree(FILE *fd, char_u **bytsp, idx_T **idxsp, int prefixtree, int prefixcnt);
|
||||
static idx_T read_tree_node(FILE *fd, char_u *byts, idx_T *idxs, int maxidx, idx_T startidx, int prefixtree, int maxprefcondnr);
|
||||
static void spell_reload_one(char_u *fname, int added_word);
|
||||
static void set_spell_charflags(char_u *flags, int cnt, char_u *upp);
|
||||
static int set_spell_chartab(char_u *fol, char_u *low, char_u *upp);
|
||||
static void set_map_str(slang_T *lp, char_u *map);
|
||||
@@ -1985,7 +1983,6 @@ typedef struct spellinfo_S
|
||||
int si_newcompID; /* current value for compound ID */
|
||||
} spellinfo_T;
|
||||
|
||||
static afffile_T *spell_read_aff(spellinfo_T *spin, char_u *fname);
|
||||
static int is_aff_rule(char_u **items, int itemcnt, char *rulename, int mincount);
|
||||
static void aff_process_flags(afffile_T *affile, affentry_T *entry);
|
||||
static int spell_info_item(char_u *s);
|
||||
@@ -1993,35 +1990,26 @@ static unsigned affitem2flag(int flagtype, char_u *item, char_u *fname, int lnum
|
||||
static unsigned get_affitem(int flagtype, char_u **pp);
|
||||
static void process_compflags(spellinfo_T *spin, afffile_T *aff, char_u *compflags);
|
||||
static void check_renumber(spellinfo_T *spin);
|
||||
static int flag_in_afflist(int flagtype, char_u *afflist, unsigned flag);
|
||||
static void aff_check_number(int spinval, int affval, char *name);
|
||||
static void aff_check_string(char_u *spinval, char_u *affval, char *name);
|
||||
static int str_equal(char_u *s1, char_u *s2);
|
||||
static void add_fromto(spellinfo_T *spin, garray_T *gap, char_u *from, char_u *to);
|
||||
static int sal_to_bool(char_u *s);
|
||||
static void spell_free_aff(afffile_T *aff);
|
||||
static int spell_read_dic(spellinfo_T *spin, char_u *fname, afffile_T *affile);
|
||||
static int get_affix_flags(afffile_T *affile, char_u *afflist);
|
||||
static int get_pfxlist(afffile_T *affile, char_u *afflist, char_u *store_afflist);
|
||||
static void get_compflags(afffile_T *affile, char_u *afflist, char_u *store_afflist);
|
||||
static int store_aff_word(spellinfo_T *spin, char_u *word, char_u *afflist, afffile_T *affile, hashtab_T *ht, hashtab_T *xht, int condit, int flags, char_u *pfxlist, int pfxlen);
|
||||
static int spell_read_wordfile(spellinfo_T *spin, char_u *fname);
|
||||
static void *getroom(spellinfo_T *spin, size_t len, int align);
|
||||
static char_u *getroom_save(spellinfo_T *spin, char_u *s);
|
||||
static void free_blocks(sblock_T *bl);
|
||||
static wordnode_T *wordtree_alloc(spellinfo_T *spin);
|
||||
static int store_word(spellinfo_T *spin, char_u *word, int flags, int region, char_u *pfxlist, int need_affix);
|
||||
static int tree_add_word(spellinfo_T *spin, char_u *word, wordnode_T *tree, int flags, int region, int affixID);
|
||||
static wordnode_T *get_wordnode(spellinfo_T *spin);
|
||||
static int deref_wordnode(spellinfo_T *spin, wordnode_T *node);
|
||||
static void free_wordnode(spellinfo_T *spin, wordnode_T *n);
|
||||
static void wordtree_compress(spellinfo_T *spin, wordnode_T *root);
|
||||
static int node_compress(spellinfo_T *spin, wordnode_T *node, hashtab_T *ht, int *tot);
|
||||
static int node_equal(wordnode_T *n1, wordnode_T *n2);
|
||||
static int write_vim_spell(spellinfo_T *spin, char_u *fname);
|
||||
static void clear_node(wordnode_T *node);
|
||||
static int put_node(FILE *fd, wordnode_T *node, int idx, int regionmask, int prefixtree);
|
||||
static void spell_make_sugfile(spellinfo_T *spin, char_u *wfname);
|
||||
static int sug_filltree(spellinfo_T *spin, slang_T *slang);
|
||||
static int sug_maketable(spellinfo_T *spin);
|
||||
static int sug_filltable(spellinfo_T *spin, wordnode_T *node, int startwordnr, garray_T *gap);
|
||||
|
||||
Reference in New Issue
Block a user