diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-20 21:22:44 -0700 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-20 21:22:44 -0700 |
commit | d11dd2f07d869282acfcdf5951f8e82d65afa234 (patch) | |
tree | ed8028b15725c8f6da26277d603e0ccd58f2d448 | |
parent | f6c963b97d3f686ca5410f1896cf8e266b455c22 (diff) |
Added G_GNUC_PRINTF() to imcb_(log|error) to keep an eye on fmt string issues.
-rw-r--r-- | protocols/nogaim.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/nogaim.h b/protocols/nogaim.h index abf299e0..bc91db3e 100644 --- a/protocols/nogaim.h +++ b/protocols/nogaim.h @@ -184,8 +184,8 @@ G_MODULE_EXPORT void imcb_connected( struct im_connection *ic ); G_MODULE_EXPORT void imc_logout( struct im_connection *ic, int allow_reconnect ); /* Communicating with the user. */ -G_MODULE_EXPORT void imcb_log( struct im_connection *ic, char *format, ... ); -G_MODULE_EXPORT void imcb_error( struct im_connection *ic, char *format, ... ); +G_MODULE_EXPORT void imcb_log( struct im_connection *ic, char *format, ... ) G_GNUC_PRINTF( 2, 3 ); +G_MODULE_EXPORT void imcb_error( struct im_connection *ic, char *format, ... ) G_GNUC_PRINTF( 2, 3 ); G_MODULE_EXPORT void imcb_ask( struct im_connection *ic, char *msg, void *data, void *doit, void *dont ); G_MODULE_EXPORT void imcb_ask_add( struct im_connection *ic, char *handle, const char *realname ); |