summaryrefslogtreecommitdiff
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-07-18 12:11:46 +0000
committersmatz <smatz@openttd.org>2008-07-18 12:11:46 +0000
commit927507818fa96f341b30d5dd4229261ca476d437 (patch)
treefd97455e5c3dfbe3674411dd9562d66e1acecdd3 /src/debug.cpp
parent69cb2f088feb3549c63ddb747ee11c781b49e86c (diff)
downloadopenttd-927507818fa96f341b30d5dd4229261ca476d437.tar.xz
(svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index fb1e28a49..44e160700 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -61,7 +61,7 @@ struct DebugLevel {
#if !defined(NO_DEBUG_MESSAGES)
-void CDECL debug_print(const char *dbg, const char *buf)
+static void debug_print(const char *dbg, const char *buf)
{
#if defined(ENABLE_NETWORK)
if (_debug_socket != INVALID_SOCKET) {