From 516fd1dc7642e49cc27f4b43676c4b3ad4d6b97a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 26 Apr 2010 10:28:38 +0000 Subject: PSP: Cleanup trace.h a bit svn-id: r48802 --- backends/platform/psp/trace.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/backends/platform/psp/trace.h b/backends/platform/psp/trace.h index ab33aaa250..8c113bef81 100644 --- a/backends/platform/psp/trace.h +++ b/backends/platform/psp/trace.h @@ -44,8 +44,6 @@ void PSPDebugTrace(bool alsoToScreen, const char *format, ...); extern int psp_debug_indent; #endif -#endif /* TRACE_H */ - // From here on, we allow multiple definitions #undef __PSP_PRINT__ #undef PSP_ERROR @@ -109,13 +107,14 @@ class PSPStackDebugFuncs { public: PSPStackDebugFuncs(const char *name) : _name(name) { - PSP_INFO_PRINT_INDENT("++ %s\n", _name.c_str()); \ + PSP_INFO_PRINT_INDENT("++ %s\n", _name.c_str()); psp_debug_indent++; } ~PSPStackDebugFuncs() { - psp_debug_indent--; \ - if (psp_debug_indent < 0) PSP_ERROR("debug indent < 0\n"); \ + psp_debug_indent--; + if (psp_debug_indent < 0) + PSP_ERROR("debug indent < 0\n"); PSP_INFO_PRINT_INDENT("-- %s\n", _name.c_str()); } }; @@ -131,3 +130,5 @@ public: #undef __PSP_PRINT_TO_FILE_AND_SCREEN__ #undef __PSP_DEBUG_FUNCS__ #undef __PSP_DEBUG_PRINT__ + +#endif /* TRACE_H */ -- cgit v1.2.3