From 655dbf6b7a9ae114b49fad341a560dc9bc728cb7 Mon Sep 17 00:00:00 2001 From: Juho Hiltunen Date: Sat, 10 Mar 2018 12:33:33 +0200 Subject: [PATCH] remove unnecessary include of synthesize.h --- src/libespeak-ng/synthdata.h | 6 +----- src/libespeak-ng/translate.h | 2 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/libespeak-ng/synthdata.h b/src/libespeak-ng/synthdata.h index 83b3e448..d0926bfa 100644 --- a/src/libespeak-ng/synthdata.h +++ b/src/libespeak-ng/synthdata.h @@ -21,6 +21,7 @@ #ifndef ESPEAK_NG_SYNTHDATA_H #define ESPEAK_NG_SYNTHDATA_H +#include "synthesize.h" #include "translate.h" #ifdef __cplusplus @@ -28,11 +29,6 @@ extern "C" { #endif -// forward declare these to avoid including the whole synthesize.h -struct PHONEME_LIST; -struct PHONEME_DATA; -struct WORD_PH_DATA; - void InterpretPhoneme(Translator *tr, int control, PHONEME_LIST *plist, PHONEME_DATA *phdata, WORD_PH_DATA *worddata); void InterpretPhoneme2(int phcode, PHONEME_DATA *phdata); diff --git a/src/libespeak-ng/translate.h b/src/libespeak-ng/translate.h index daa38f9a..adbd255b 100644 --- a/src/libespeak-ng/translate.h +++ b/src/libespeak-ng/translate.h @@ -25,8 +25,6 @@ #include #include -#include "synthesize.h" - #ifdef __cplusplus extern "C" {