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 /protocols/nogaim.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 'protocols/nogaim.h')
-rw-r--r-- | protocols/nogaim.h | 2 |
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 ); |