diff --git a/src/cpu/core_dyn_x86/risc_x86.h b/src/cpu/core_dyn_x86/risc_x86.h index a59b1644..c49060ef 100644 --- a/src/cpu/core_dyn_x86/risc_x86.h +++ b/src/cpu/core_dyn_x86/risc_x86.h @@ -112,7 +112,7 @@ return_address: mov [retval],eax } #elif defined (MACOSX) - register Bit32u tempflags=reg_flags & FMASK_TEST; + Bit32u tempflags = reg_flags & FMASK_TEST; __asm__ volatile ( "pushl %%ebx \n" "pushl %%ebp \n" @@ -128,7 +128,7 @@ return_address: ); reg_flags=(reg_flags & ~FMASK_TEST) | (tempflags & FMASK_TEST); #else - register Bit32u tempflags=reg_flags & FMASK_TEST; + Bit32u tempflags = reg_flags & FMASK_TEST; __asm__ volatile ( "pushl %%ebp \n" "pushl $(run_return_adress) \n" diff --git a/src/gui/render_templates_sai.h b/src/gui/render_templates_sai.h index 95103367..287d9aed 100644 --- a/src/gui/render_templates_sai.h +++ b/src/gui/render_templates_sai.h @@ -43,7 +43,7 @@ inline void conc2d(Super2xSaI,SBPP)(PTYPE * line0, PTYPE * line1, const PTYPE * } else if (C4 == C8 && C7 != C5) { line1[1] = line0[1] = C4; } else if (C4 == C8 && C7 == C5) { - register int r = 0; + int r = 0; r += conc2d(GetResult,SBPP)(C5,C4,C6,D1); r += conc2d(GetResult,SBPP)(C5,C4,C3,C1); r += conc2d(GetResult,SBPP)(C5,C4,D2,D5); @@ -127,7 +127,7 @@ inline void conc2d(SuperEagle,SBPP)(PTYPE * line0, PTYPE * line1, const PTYPE * line1[0] = interp_w2(C7,C8,1U,1U); } } else { - register int r = 0; + int r = 0; r += conc2d(GetResult,SBPP)(C5,C4,C6,D1); r += conc2d(GetResult,SBPP)(C5,C4,C3,C1); r += conc2d(GetResult,SBPP)(C5,C4,D2,D5); @@ -185,7 +185,7 @@ inline void conc2d(_2xSaI,SBPP)(PTYPE * line0, PTYPE * line1, const PTYPE * fc) line1[0] = C4; line1[1] = C4; } else { - register int r = 0; + int r = 0; r += conc2d(GetResult,SBPP)(C4,C5,C3,C1); r -= conc2d(GetResult,SBPP)(C5,C4,D4,C2); r -= conc2d(GetResult,SBPP)(C5,C4,C6,D1);