From 8f64b0944753193733a1b6ba5f47a41026b61a2d Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Tue, 7 Sep 2004 14:22:48 +0000 Subject: [PATCH] Make the EA Sib function static Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1948 --- src/cpu/core_normal/table_ea.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/core_normal/table_ea.h b/src/cpu/core_normal/table_ea.h index 990cc318..a7352e8b 100644 --- a/src/cpu/core_normal/table_ea.h +++ b/src/cpu/core_normal/table_ea.h @@ -49,7 +49,7 @@ static PhysPt EA_16_87_n(void) { return BaseDS+(Bit16u)(reg_bx+Fetchws()); } static Bit32u SIBZero=0; static Bit32u * SIBIndex[8]= { ®_eax,®_ecx,®_edx,®_ebx,&SIBZero,®_ebp,®_esi,®_edi }; -INLINE PhysPt Sib(Bitu mode) { +static INLINE PhysPt Sib(Bitu mode) { Bit8u sib=Fetchb(); PhysPt base; switch (sib&7) {