diff --git a/src/libespeak-ng/dictionary.h b/src/libespeak-ng/dictionary.h index e010b6e8..2c1650ac 100644 --- a/src/libespeak-ng/dictionary.h +++ b/src/libespeak-ng/dictionary.h @@ -30,7 +30,7 @@ extern "C" { #endif -void strncpy0(char *to, const char *from, int size); +extern ESPEAK_NG_API void strncpy0(char *to, const char *from, int size); int LoadDictionary(Translator *tr, const char *name, int no_error); int HashDictionary(const char *string); const char *EncodePhonemes(const char *p, char *outptr, int *bad_phoneme); diff --git a/src/libespeak-ng/speech.h b/src/libespeak-ng/speech.h index 681f77fb..47d5e6c6 100644 --- a/src/libespeak-ng/speech.h +++ b/src/libespeak-ng/speech.h @@ -70,8 +70,7 @@ void cancel_audio(void); extern char path_home[N_PATH_HOME]; // this is the espeak-ng-data directory -extern ESPEAK_NG_API void strncpy0(char *to, const char *from, int size); -extern ESPEAK_NG_API int GetFileLength(const char *filename); +extern ESPEAK_NG_API int GetFileLength(const char *filename); #ifdef __cplusplus }