From 8227fae6b9635938178f1ee4405c1898dc2f3189 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 19 Sep 2003 00:51:04 +0000 Subject: [PATCH] Use #define PRINTF. Remove an extra #include. --- stepmania/src/RageLog.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/stepmania/src/RageLog.h b/stepmania/src/RageLog.h index c29cab2275..ce7d1d88b3 100644 --- a/stepmania/src/RageLog.h +++ b/stepmania/src/RageLog.h @@ -12,23 +12,21 @@ ----------------------------------------------------------------------------- */ -#include - class RageLog { public: RageLog(); ~RageLog(); - void Trace( const char *fmt, ...); - void Warn( const char *fmt, ...); - void Info( const char *fmt, ...); + void Trace( const char *fmt, ...) PRINTF(2,3); + void Warn( const char *fmt, ...) PRINTF(2,3); + void Info( const char *fmt, ...) PRINTF(2,3); void Flush(); void ShowConsole(); void HideConsole(); - void MapLog(const CString &key, const char *fmt, ...); + void MapLog(const CString &key, const char *fmt, ...) PRINTF(3,4); void UnmapLog(const CString &key); static const char *GetAdditionalLog();