--- hatari/src/uae-cpu/build68k.c 2019/04/01 07:10:42 1.1.1.2 +++ hatari/src/uae-cpu/build68k.c 2019/04/01 07:13:13 1.1.1.4 @@ -10,16 +10,19 @@ * This file is distributed under the GNU Public License, version 2 or at * your option any later version. Read the file gpl.txt for details. */ -static char rcsid[] = "Hatari $Id: build68k.c,v 1.1.1.2 2019/04/01 07:10:42 root Exp $"; +const char Build68k_rcsid[] = "Hatari $Id: build68k.c,v 1.1.1.4 2019/04/01 07:13:13 root Exp $"; #include #include +#include #include "readcpu.h" + static FILE *tablef; static int nextch = 0; + static void getnextch(void) { do { @@ -62,7 +65,7 @@ int main(int argc, char **argv) /*printf ("#include \"sysconfig.h\"\n");*/ printf ("#include \"sysdeps.h\"\n"); printf ("#include \"readcpu.h\"\n"); - printf ("struct instr_def defs68k[] = {\n"); + printf ("const struct instr_def defs68k[] = {\n"); #if 0 tablef = fopen("table68k","r"); if (tablef == NULL) {