Changeset a9ca7dd for ipc.h


Ignore:
Timestamp:
2006-05-23T08:18:24Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
fc630f9
Parents:
da3b536
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ipc.h

    rda3b536 ra9ca7dd  
    4747
    4848void ipc_to_master( char **cmd );
    49 void ipc_to_master_str( char *format, ... );
     49void ipc_to_master_str( char *format, ... ) G_GNUC_PRINTF( 1, 2 );
    5050void ipc_to_children( char **cmd );
    51 void ipc_to_children_str( char *format, ... );
     51void ipc_to_children_str( char *format, ... ) G_GNUC_PRINTF( 1, 2 );
    5252
    5353/* We need this function in inetd mode, so let's just make it non-static. */
Note: See TracChangeset for help on using the changeset viewer.