compiledict.c: Fix -Wmissing-prototypes warnings.

This commit is contained in:
Reece H. Dunn
2017-10-11 07:51:36 +01:00
parent b8b0119b62
commit 7f42e0aaca
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -762,7 +762,7 @@ static int group3_ix;
#define N_RULES 3000 // max rules for each group
int isHexDigit(int c)
static int isHexDigit(int c)
{
if ((c >= '0') && (c <= '9'))
return c - '0';
@@ -1169,7 +1169,7 @@ static char *compile_rule(char *input)
return prule;
}
int __cdecl string_sorter(char **a, char **b)
static int __cdecl string_sorter(char **a, char **b)
{
char *pa, *pb;
int ix;
-3
View File
@@ -40,9 +40,6 @@
int dictionary_skipwords;
char dictionary_name[40];
extern void print_dictionary_flags(unsigned int *flags, char *buf, int buf_len);
extern char *DecodeRule(const char *group_chars, int group_length, char *rule, int control);
// accented characters which indicate (in some languages) the start of a separate syllable
static const unsigned short diereses_list[7] = { 0xe4, 0xeb, 0xef, 0xf6, 0xfc, 0xff, 0 };
+3
View File
@@ -749,6 +749,9 @@ int LoadDictionary(Translator *tr, const char *name, int no_error);
int LookupDictList(Translator *tr, char **wordptr, char *ph_out, unsigned int *flags, int end_flags, WORD_TAB *wtab);
int HashDictionary(const char *string);
void print_dictionary_flags(unsigned int *flags, char *buf, int buf_len);
char *DecodeRule(const char *group_chars, int group_length, char *rule, int control);
void MakePhonemeList(Translator *tr, int post_pause, int new_sentence);
int ChangePhonemes_ru(Translator *tr, PHONEME_LIST2 *phlist, int n_ph, int index, PHONEME_TAB *ph, CHANGEPH *ch);
void ApplySpecialAttribute2(Translator *tr, char *phonemes, int dict_flags);