Make the compiler stricter and tidy up code to make the subsequent errors and warnings go away

This commit is contained in:
Alex Young
2012-06-11 13:57:03 +01:00
parent 8825f86726
commit 25fc0969cf
19 changed files with 132 additions and 139 deletions

View File

@@ -15,7 +15,7 @@ typedef void (cleanup_handler)(void* /* context */, int /* is fatal? */);
extern int log_level;
/* set up the error globals */
void error_init();
void error_init(void);
/* error_set_handler must be a macro not a function due to setjmp stack rules */
#include <setjmp.h>