mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 06:45:39 +00:00
compiledict.c: Fix -Wmissing-prototypes warnings.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 };
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user