From a9ca7dd4d4b6dc55be46bbbdd166922c69a73590 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Tue, 23 May 2006 10:18:24 +0200 Subject: Added G_GNUC_PRINTF(...) to definitions of functions that take format strings so GCC can detect them and complain when things don't look right. --- log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'log.h') diff --git a/log.h b/log.h index 6679121d..f574ae07 100644 --- a/log.h +++ b/log.h @@ -53,7 +53,7 @@ typedef struct log_t { void log_init(void); void log_link(int level, int output); -void log_message(int level, char *message, ...); +void log_message(int level, char *message, ...) G_GNUC_PRINTF( 2, 3 ); void log_error(char *functionname); #endif -- cgit v1.2.3