[Scummvm-cvs-logs] SF.net SVN: scummvm:[52391] scummvm/trunk/engines/hugo/util.h
dhewg at users.sourceforge.net
dhewg at users.sourceforge.net
Wed Aug 25 19:07:47 CEST 2010
Revision: 52391
http://scummvm.svn.sourceforge.net/scummvm/?rev=52391&view=rev
Author: dhewg
Date: 2010-08-25 17:07:47 +0000 (Wed, 25 Aug 2010)
Log Message:
-----------
HUGO: Use GCC_PRINTF on functions with variable arguments
Two instances commented out with a FIXME for Strangerke :P
Modified Paths:
--------------
scummvm/trunk/engines/hugo/util.h
Modified: scummvm/trunk/engines/hugo/util.h
===================================================================
--- scummvm/trunk/engines/hugo/util.h 2010-08-25 17:03:24 UTC (rev 52390)
+++ scummvm/trunk/engines/hugo/util.h 2010-08-25 17:07:47 UTC (rev 52391)
@@ -52,11 +52,11 @@
int firstBit(byte data);
int lastBit(byte data);
void reverseByte(byte *data);
-void Warn(bool technote, const char *format, ...);
-void Error(int code, const char *format, ...);
+void Warn(bool technote, const char *format, ...) GCC_PRINTF(2, 3);
+void Error(int code, const char *format, ...); // FIXME GCC_PRINTF(2, 3);
void gameOverMsg();
-// void Debug_out(char *format, ...);
-char *Box(box_t, const char *, ...);
+// void Debug_out(char *format, ...) GCC_PRINTF(1, 2);
+char *Box(box_t, const char *, ...); // FIXME GCC_PRINTF(2, 3);
}
} // Namespace Hugo
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list