summaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/debug.h b/src/debug.h
index 8ab897b2e..c7a71c67a 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -48,6 +48,7 @@
extern int _debug_sl_level;
extern int _debug_station_level;
extern int _debug_gamelog_level;
+ extern int _debug_desync_level;
void CDECL debug(const char *dbg, ...);
#endif /* NO_DEBUG_MESSAGES */
@@ -101,16 +102,4 @@ const char *GetDebugString();
void ShowInfo(const char *str);
void CDECL ShowInfoF(const char *str, ...);
-#ifdef DEBUG_DUMP_COMMANDS
- void CDECL DebugDumpCommands(const char *s, ...);
-#else /* DEBUG_DUMP_COMMANDS */
- /* when defined as an empty function with variable argument list,
- * it can't be inlined - so define it as an empty macro */
- #if defined(__GNUC__) && (__GNUC__ < 3)
- #define DebugDumpCommands(s, args...)
- #else
- #define DebugDumpCommands(s, ...)
- #endif
-#endif /* DEBUG_DUMP_COMMANDS */
-
#endif /* DEBUG_H */