Commit e5567a0b authored by Philip Withnall's avatar Philip Withnall Committed by Olivier Crête

agent: Add printf function attribute

This shuts a compiler warning up and allows for format string checking
of debug messages. (See future commits for the fixes this has resulted
in.)
parent 63e74d8e
......@@ -97,7 +97,7 @@ void nice_debug_enable (gboolean with_stun);
*/
void nice_debug_disable (gboolean with_stun);
void nice_debug (const char *fmt, ...);
void nice_debug (const char *fmt, ...) G_GNUC_PRINTF (1, 2);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment