[hatari-devel] WinUae CPU for hatari

Laurent Sallafranque laurent.sallafranque at free.fr
Fri Oct 22 19:34:42 CEST 2010


> * cpu/cpummu.c - why remove "static"?
> -static struct mmu_atc_line atc_l2[2][ATC_L2_SIZE];
> +struct mmu_atc_line atc_l2[2][ATC_L2_SIZE];
>
>    

If I remove static, I get the following error :


/home/laurent/Atari/hatari/src/cpu/cpummu.c:45: error: static 
declaration of ‘atc_l2’ follows non-static declaration
/home/laurent/Atari/hatari/src/cpu/cpummu.h:238: note: previous 
declaration of ‘atc_l2’ was here
/home/laurent/Atari/hatari/src/cpu/cpummu.c:253: warning: no previous 
prototype for ‘mmu_dump_atc’

Regards

Laurent




More information about the hatari-devel mailing list