Added printf format attributes
git-svn-id: svn://svn.cc65.org/cc65/trunk@335 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -129,10 +129,10 @@ extern unsigned CfgErrorCol;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void CfgWarning (const char* Format, ...);
|
void CfgWarning (const char* Format, ...) attribute((format(printf,1,2)));
|
||||||
/* Print a warning message adding file name and line number of the config file */
|
/* Print a warning message adding file name and line number of the config file */
|
||||||
|
|
||||||
void CfgError (const char* Format, ...);
|
void CfgError (const char* Format, ...) attribute((format(printf,1,2)));
|
||||||
/* Print an error message adding file name and line number of the config file */
|
/* Print an error message adding file name and line number of the config file */
|
||||||
|
|
||||||
void CfgNextTok (void);
|
void CfgNextTok (void);
|
||||||
@@ -196,3 +196,4 @@ void CfgCloseInput (void);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user