code cleanup: move function declarations from speech.h to new file mnemonics.h

This adds a corresponding header file for mnemonics.c that was introduced in d5d93be.
This commit is contained in:
Juho Hiltunen
2021-02-22 16:56:19 +02:00
parent b9eb212217
commit cffdfb837b
8 changed files with 49 additions and 16 deletions
-7
View File
@@ -59,13 +59,6 @@ extern "C"
#define PATH_ESPEAK_DATA "/usr/share/espeak-ng-data"
#endif
typedef struct {
const char *mnem;
int value;
} MNEM_TAB;
int LookupMnem(MNEM_TAB *table, const char *string);
const char *LookupMnemName(MNEM_TAB *table, const int value);
void cancel_audio(void);
extern char path_home[N_PATH_HOME]; // this is the espeak-ng-data directory