fixup to extern

This commit is contained in:
Zeno Rogue 2019-09-06 09:19:07 +02:00
parent 7c56ff19c8
commit 30311e3929
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ int main() {
printf("#define NATCHARS {");
for(auto&& elt : vchars) printf("\"%s\",", elt.c_str());
printf("};\n");
printf("extern char* natchars[NUMEXTRA];\n");
printf("extern const char* natchars[NUMEXTRA];\n");
printf("#endif\n");
printf("const char* natchars[NUMEXTRA] = NATCHARS;\n");
printf("//javastring = \"%s\";\n", javastring.c_str());