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

@@ -13,12 +13,12 @@ pthread_key_t cleanup_handler_key;
int log_level = 1;
void error_init()
void error_init(void)
{
pthread_key_create(&cleanup_handler_key, free);
}
void error_handler(int fatal)
void error_handler(int fatal __attribute__ ((unused)) )
{
DECLARE_ERROR_CONTEXT(context);