summaryrefslogtreecommitdiff
path: root/src/misc/dbg_helpers.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-02-14 13:01:33 +0000
committerfrosch <frosch@openttd.org>2010-02-14 13:01:33 +0000
commit151babee57709529e8db2a3871abc4bf66feb1ec (patch)
treec0ede752682ad466bdd4b085ebdbc0bf1a3e43c8 /src/misc/dbg_helpers.h
parentd757f81646f703d76236e3fb1ba57209f925b22a (diff)
downloadopenttd-151babee57709529e8db2a3871abc4bf66feb1ec.tar.xz
(svn r19127) -Codechange: Add printf-like warnings to more functions.
Diffstat (limited to 'src/misc/dbg_helpers.h')
-rw-r--r--src/misc/dbg_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/dbg_helpers.h b/src/misc/dbg_helpers.h
index 670548d35..379b2e82e 100644
--- a/src/misc/dbg_helpers.h
+++ b/src/misc/dbg_helpers.h
@@ -137,7 +137,7 @@ struct DumpTarget {
void WriteIndent();
- void WriteLine(const char *format, ...);
+ void CDECL WriteLine(const char *format, ...) WARN_FORMAT(2, 3);
void WriteValue(const char *name, const char *value_str);
void WriteTile(const char *name, TileIndex t);