aboutsummaryrefslogtreecommitdiffstats
path: root/ipc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-05-23 10:18:24 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-05-23 10:18:24 +0200
commita9ca7dd4d4b6dc55be46bbbdd166922c69a73590 (patch)
tree9e917a0eb9c4cee498dc38633dec1e5f10fd45b0 /ipc.h
parentda3b53657c8e554fc8c28c8ef61ef44492da24dd (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 'ipc.h')
-rw-r--r--ipc.h4
1 files changed, 2 insertions, 2 deletions
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 );