From c1e9d2f89878b422ed2925fcead52c2775940c2a Mon Sep 17 00:00:00 2001 From: KyleSanderson Date: Tue, 14 Jan 2014 17:47:36 -0700 Subject: [PATCH] Eliminate SDK usage in CDetour. --- Extension/asm/asm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Extension/asm/asm.c b/Extension/asm/asm.c index fd7a540..7e92d23 100644 --- a/Extension/asm/asm.c +++ b/Extension/asm/asm.c @@ -13,8 +13,6 @@ #define IA32_MOV_REG_IMM 0xB8 // encoding is +r #endif -extern void Msg( const char *, ... ); - /** * Checks if a call to a fpic thunk has just been written into dest. * If found replaces it with a direct mov that sets the required register to the value of pc. @@ -64,7 +62,6 @@ void check_thunks(unsigned char *dest, unsigned char *pc) } default: { - Msg("Unknown thunk: %c\n", *(calladdr+1)); break; } }