projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63e74d8
)
agent: Add printf function attribute
author
Philip Withnall
<philip.withnall@collabora.co.uk>
Tue, 17 Dec 2013 09:36:51 +0000
(09:36 +0000)
committer
Olivier CrĂȘte
<olivier.crete@collabora.com>
Wed, 18 Dec 2013 22:50:34 +0000
(17:50 -0500)
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.)
agent/debug.h
patch
|
blob
|
history
diff --git
a/agent/debug.h
b/agent/debug.h
index
a31d95c
..
d802561
100644
(file)
--- a/
agent/debug.h
+++ b/
agent/debug.h
@@
-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