silence some warnings and break it even more
Modified: trunk/reactos/lib/dbghelp/stack.c
Modified: trunk/reactos/lib/dbghelp/stackframe.h
_____
Modified: trunk/reactos/lib/dbghelp/stack.c
--- trunk/reactos/lib/dbghelp/stack.c 2005-06-29 20:03:12 UTC (rev
16332)
+++ trunk/reactos/lib/dbghelp/stack.c 2005-06-29 20:13:51 UTC (rev
16333)
@@ -39,6 +39,7 @@
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 @@
return "unknown";
}
}
+#endif
/* indexes in Reserved array */
#define __CurrentMode 0
_____
Modified: trunk/reactos/lib/dbghelp/stackframe.h
--- trunk/reactos/lib/dbghelp/stackframe.h 2005-06-29 20:03:12 UTC
(rev 16332)
+++ trunk/reactos/lib/dbghelp/stackframe.h 2005-06-29 20:13:51 UTC
(rev 16333)
@@ -69,6 +69,11 @@
#include <poppack.h>
+static inline int MapSL(int size)
+{
+return -1;
+}
+
#define CURRENT_STACK16
((STACK16FRAME*)MapSL(NtCurrentTeb()->cur_stack))
#define CURRENT_DS (CURRENT_STACK16->ds)