Changeset d11dd2f for protocols


Ignore:
Timestamp:
2007-04-21T04:22:44Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
17fa798
Parents:
f6c963b
Message:

Added G_GNUC_PRINTF() to imcb_(log|error) to keep an eye on fmt string issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.h

    rf6c963b rd11dd2f  
    185185
    186186/* Communicating with the user. */
    187 G_MODULE_EXPORT void imcb_log( struct im_connection *ic, char *format, ... );
    188 G_MODULE_EXPORT void imcb_error( struct im_connection *ic, char *format, ... );
     187G_MODULE_EXPORT void imcb_log( struct im_connection *ic, char *format, ... ) G_GNUC_PRINTF( 2, 3 );
     188G_MODULE_EXPORT void imcb_error( struct im_connection *ic, char *format, ... ) G_GNUC_PRINTF( 2, 3 );
    189189G_MODULE_EXPORT void imcb_ask( struct im_connection *ic, char *msg, void *data, void *doit, void *dont );
    190190G_MODULE_EXPORT void imcb_ask_add( struct im_connection *ic, char *handle, const char *realname );
Note: See TracChangeset for help on using the changeset viewer.