encoding.c: Fix -Wmissing-prototypes warnings.

This commit is contained in:
Reece H. Dunn
2017-10-11 07:41:31 +01:00
parent 8768cba0ae
commit 68724badf3
2 changed files with 6 additions and 3 deletions
+2 -3
View File
@@ -33,6 +33,7 @@
#include <espeak-ng/espeak_ng.h>
#include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h>
#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;
+4
View File
@@ -26,6 +26,10 @@
#include <espeak-ng/encoding.h>
#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