From 30ad5c39f619e220d9668f2f26af5dbb31a644c5 Mon Sep 17 00:00:00 2001 From: Juho Hiltunen Date: Thu, 8 Mar 2018 17:24:06 +0200 Subject: [PATCH] move struct MatchRecord to dictionary.c since it's the only file that uses it --- src/libespeak-ng/dictionary.c | 8 ++++++++ src/libespeak-ng/translate.h | 7 ------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/libespeak-ng/dictionary.c b/src/libespeak-ng/dictionary.c index fb8273bb..5ab68fe4 100644 --- a/src/libespeak-ng/dictionary.c +++ b/src/libespeak-ng/dictionary.c @@ -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]; diff --git a/src/libespeak-ng/translate.h b/src/libespeak-ng/translate.h index 8af1c9cb..e5e2b2cb 100644 --- a/src/libespeak-ng/translate.h +++ b/src/libespeak-ng/translate.h @@ -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;