code cleanup: use statics and consts when possible

This commit is contained in:
Yury Popov
2022-11-18 17:48:04 +03:00
parent 0f3fb42b62
commit 2929b9e199
20 changed files with 72 additions and 76 deletions
+1 -1
View File
@@ -959,7 +959,7 @@ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Terminate(void)
return ENS_OK;
}
const char *version_string = PACKAGE_VERSION;
static const char version_string[] = PACKAGE_VERSION;
ESPEAK_API const char *espeak_Info(const char **ptr)
{
if (ptr != NULL)