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)