move struct MatchRecord to dictionary.c since it's the only file that uses it

This commit is contained in:
Juho Hiltunen
2018-03-09 21:08:38 +02:00
parent 342f077755
commit 30ad5c39f6
2 changed files with 8 additions and 7 deletions
+8
View File
@@ -37,6 +37,14 @@
#include "synthesize.h"
#include "translate.h"
typedef struct {
int points;
const char *phonemes;
int end_type;
char *del_fwd;
} MatchRecord;
int dictionary_skipwords;
char dictionary_name[40];
-7
View File
@@ -267,13 +267,6 @@ int clause_type_from_codepoint(uint32_t c);
typedef const char *constcharptr;
typedef struct {
int points;
const char *phonemes;
int end_type;
char *del_fwd;
} MatchRecord;
// used to mark words with the source[] buffer
typedef struct {
unsigned int flags;