From 3fd1a79ff36057b9454572636790dbb1dbfd8550 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Wed, 29 Jun 2005 20:13:51 +0000 Subject: [PATCH] silence some warnings and break it even more svn path=/trunk/; revision=16333 --- reactos/lib/dbghelp/stack.c | 2 ++ reactos/lib/dbghelp/stackframe.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/reactos/lib/dbghelp/stack.c b/reactos/lib/dbghelp/stack.c index 5d7e2ec2dcf..61227156b53 100644 --- a/reactos/lib/dbghelp/stack.c +++ b/reactos/lib/dbghelp/stack.c @@ -39,6 +39,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(dbghelp); enum st_mode {stm_start, stm_32bit, stm_16bit, stm_done}; +#if 0 static const char* wine_dbgstr_addr(const ADDRESS* addr) { if (!addr) return "(null)"; @@ -56,6 +57,7 @@ static const char* wine_dbgstr_addr(const ADDRESS* addr) return "unknown"; } } +#endif /* indexes in Reserved array */ #define __CurrentMode 0 diff --git a/reactos/lib/dbghelp/stackframe.h b/reactos/lib/dbghelp/stackframe.h index c0e3e663a9e..bedf4d7ffb2 100644 --- a/reactos/lib/dbghelp/stackframe.h +++ b/reactos/lib/dbghelp/stackframe.h @@ -69,6 +69,11 @@ typedef struct _STACK16FRAME #include +static inline int MapSL(int size) +{ +return -1; +} + #define CURRENT_STACK16 ((STACK16FRAME*)MapSL(NtCurrentTeb()->cur_stack)) #define CURRENT_DS (CURRENT_STACK16->ds)