diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-23 10:18:24 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-05-23 10:18:24 +0200 |
commit | a9ca7dd4d4b6dc55be46bbbdd166922c69a73590 (patch) | |
tree | 9e917a0eb9c4cee498dc38633dec1e5f10fd45b0 /log.h | |
parent | da3b53657c8e554fc8c28c8ef61ef44492da24dd (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |