aboutsummaryrefslogtreecommitdiffstats
path: root/log.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-05-23 10:18:24 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-05-23 10:18:24 +0200
commita9ca7dd4d4b6dc55be46bbbdd166922c69a73590 (patch)
tree9e917a0eb9c4cee498dc38633dec1e5f10fd45b0 /log.h
parentda3b53657c8e554fc8c28c8ef61ef44492da24dd (diff)
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.
Diffstat (limited to 'log.h')
-rw-r--r--log.h2
1 files changed, 1 insertions, 1 deletions
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