From a9ca7dd4d4b6dc55be46bbbdd166922c69a73590 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Tue, 23 May 2006 10:18:24 +0200 Subject: 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. --- ipc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipc.h') diff --git a/ipc.h b/ipc.h index 7ff74a15..db05d63c 100644 --- a/ipc.h +++ b/ipc.h @@ -46,9 +46,9 @@ void ipc_master_free_one( struct bitlbee_child *child ); void ipc_master_free_all(); void ipc_to_master( char **cmd ); -void ipc_to_master_str( char *format, ... ); +void ipc_to_master_str( char *format, ... ) G_GNUC_PRINTF( 1, 2 ); void ipc_to_children( char **cmd ); -void ipc_to_children_str( char *format, ... ); +void ipc_to_children_str( char *format, ... ) G_GNUC_PRINTF( 1, 2 ); /* We need this function in inetd mode, so let's just make it non-static. */ void ipc_master_cmd_rehash( irc_t *data, char **cmd ); -- cgit v1.2.3