From 556ff13f878a79686f45615e79614737d98fcb17 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sun, 27 Jan 2013 16:54:22 +0000 Subject: [PATCH] make RealHandle inline to silence some unused warnings Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3814 --- include/dos_inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dos_inc.h b/include/dos_inc.h index f32b3185..07a2bef6 100644 --- a/include/dos_inc.h +++ b/include/dos_inc.h @@ -638,7 +638,7 @@ struct DOS_Block { extern DOS_Block dos; -static Bit8u RealHandle(Bit16u handle) { +static INLINE Bit8u RealHandle(Bit16u handle) { DOS_PSP psp(dos.psp()); return psp.GetFileHandle(handle); }