From d708d9e611c4240b3521ebddf24100399761cf41 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 8 Apr 2019 19:33:48 +0200 Subject: [PATCH] krnl386.exe: Avoid using DPRINTF(). Signed-off-by: Alexandre Julliard --- dlls/krnl386.exe16/global.c | 14 -------------- dlls/krnl386.exe16/thunk.c | 14 +++++--------- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/dlls/krnl386.exe16/global.c b/dlls/krnl386.exe16/global.c index 8f9ac026640..c7ccd2d8f87 100644 --- a/dlls/krnl386.exe16/global.c +++ b/dlls/krnl386.exe16/global.c @@ -109,20 +109,6 @@ static GLOBALARENA *GLOBAL_GetArena( WORD sel, WORD selcount ) return pGlobalArena + (sel >> __AHSHIFT); } -void debug_handles(void) -{ - int printed=0; - int i; - for (i = globalArenaSize-1 ; i>=0 ; i--) { - if (pGlobalArena[i].size!=0 && (pGlobalArena[i].handle & 0x8000)){ - printed=1; - DPRINTF("0x%08x, ",pGlobalArena[i].handle); - } - } - if (printed) - DPRINTF("\n"); -} - /*********************************************************************** * GLOBAL_CreateBlock diff --git a/dlls/krnl386.exe16/thunk.c b/dlls/krnl386.exe16/thunk.c index 737f6a80574..f3ca174598f 100644 --- a/dlls/krnl386.exe16/thunk.c +++ b/dlls/krnl386.exe16/thunk.c @@ -1011,13 +1011,9 @@ DWORD WINAPIV SSCall( DWORD i,ret; DWORD *args = ((DWORD *)&fun) + 1; - if(TRACE_ON(thunk)) - { - DPRINTF("(%d,0x%08x,%p,[",nr,flags,fun); - for (i=0;i