mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
encoding.c: Fix -Wmissing-prototypes warnings.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user