Use gcc function attributes for better error checking
git-svn-id: svn://svn.cc65.org/cc65/trunk@210 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -38,14 +38,18 @@
|
||||
|
||||
|
||||
|
||||
#include "attrib.h"
|
||||
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Code */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
void AbEnd (const char* Format, ...);
|
||||
/* Print a message preceeded by the program name and terminate the program
|
||||
void AbEnd (const char* Format, ...) attribute ((format (printf, 1, 2)));
|
||||
/* Print a message preceeded by the program name and terminate the program
|
||||
* with an error exit code.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user