aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.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 /protocols/nogaim.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 'protocols/nogaim.h')
-rw-r--r--protocols/nogaim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/nogaim.h b/protocols/nogaim.h
index 54a1835b..282a2455 100644
--- a/protocols/nogaim.h
+++ b/protocols/nogaim.h
@@ -214,7 +214,7 @@ G_MODULE_EXPORT void destroy_gaim_conn( struct gaim_connection *gc );
G_MODULE_EXPORT void set_login_progress( struct gaim_connection *gc, int step, char *msg );
G_MODULE_EXPORT void hide_login_progress( struct gaim_connection *gc, char *msg );
G_MODULE_EXPORT void hide_login_progress_error( struct gaim_connection *gc, char *msg );
-G_MODULE_EXPORT void serv_got_crap( struct gaim_connection *gc, char *format, ... );
+G_MODULE_EXPORT void serv_got_crap( struct gaim_connection *gc, char *format, ... ) G_GNUC_PRINTF( 2, 3 );
G_MODULE_EXPORT void account_online( struct gaim_connection *gc );
G_MODULE_EXPORT void signoff( struct gaim_connection *gc );