From e6c75fa350555561d244309c3fa372ea20587f87 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Wed, 11 Oct 2017 07:20:19 +0100 Subject: [PATCH] speech.c: Fix -Wmissing-prototypes warnings. --- src/libespeak-ng/speech.c | 2 -- src/libespeak-ng/synthesize.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libespeak-ng/speech.c b/src/libespeak-ng/speech.c index 36465aff..da0bd3eb 100644 --- a/src/libespeak-ng/speech.c +++ b/src/libespeak-ng/speech.c @@ -876,8 +876,6 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Synchronize(void) return berr; } -extern void FreePhData(void); - ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Terminate(void) { #ifdef USE_ASYNC diff --git a/src/libespeak-ng/synthesize.h b/src/libespeak-ng/synthesize.h index 9aac8d4b..f3975271 100644 --- a/src/libespeak-ng/synthesize.h +++ b/src/libespeak-ng/synthesize.h @@ -487,6 +487,7 @@ extern char mbrola_name[20]; // from synthdata file unsigned int LookupSound(PHONEME_TAB *ph1, PHONEME_TAB *ph2, int which, int *match_level, int control); frameref_t *LookupSpect(PHONEME_TAB *this_ph, int which, FMT_PARAMS *fmt_params, int *n_frames, PHONEME_LIST *plist); +void FreePhData(void); unsigned char *LookupEnvelope(int ix); espeak_ng_STATUS LoadPhData(int *srate, espeak_ng_ERROR_CONTEXT *context);