From 68724badf3c06b05871ff767e55cf4604d0f651d Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Wed, 11 Oct 2017 07:41:31 +0100 Subject: [PATCH] encoding.c: Fix -Wmissing-prototypes warnings. --- src/libespeak-ng/compiledata.c | 5 ++--- src/libespeak-ng/encoding.c | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/libespeak-ng/compiledata.c b/src/libespeak-ng/compiledata.c index d3135ef3..00a97d6f 100644 --- a/src/libespeak-ng/compiledata.c +++ b/src/libespeak-ng/compiledata.c @@ -33,6 +33,7 @@ #include #include +#include #include "error.h" #include "speech.h" @@ -40,6 +41,7 @@ #include "voice.h" #include "synthesize.h" #include "spect.h" +#include "translate.h" typedef struct { unsigned int value; @@ -50,9 +52,6 @@ NAMETAB *manifest = NULL; int n_manifest; char phsrc[sizeof(path_home)+40]; // Source: path to the 'phonemes' source file. -extern ESPEAK_NG_API int utf8_in(int *c, const char *buf); -extern int utf8_out(unsigned int c, char *buf); - typedef struct { const char *mnem; int type; diff --git a/src/libespeak-ng/encoding.c b/src/libespeak-ng/encoding.c index 2084e5f3..e7a920d5 100644 --- a/src/libespeak-ng/encoding.c +++ b/src/libespeak-ng/encoding.c @@ -26,6 +26,10 @@ #include #include "speech.h" +#include "phoneme.h" +#include "voice.h" +#include "synthesize.h" +#include "translate.h" #define LEADING_2_BITS 0xC0 // 0b11000000 #define UTF8_TAIL_BITS 0x80 // 0b10000000