mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 20:49:11 +00:00
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
This commit is contained in:
@@ -129,7 +129,7 @@ void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage);
|
||||
void LoadNewGRF(uint load_index, uint file_index);
|
||||
void ReloadNewGRFData(); // in saveload/afterload.cpp
|
||||
|
||||
void CDECL grfmsg(int severity, const char *str, ...);
|
||||
void CDECL grfmsg(int severity, const char *str, ...) WARN_FORMAT(2, 3);
|
||||
|
||||
bool HasGrfMiscBit(GrfMiscBit bit);
|
||||
bool GetGlobalVariable(byte param, uint32 *value);
|
||||
|
Reference in New Issue
Block a user