[Pkg-telepathy-commits] [libnice] 24/265: agent: Add printf function attribute
Simon McVittie
smcv at debian.org
Wed May 14 12:04:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository libnice.
commit e5567a0b164a6c87b6d9ca1a071aa759bdffd58b
Author: Philip Withnall <philip.withnall at collabora.co.uk>
Date: Tue Dec 17 09:36:51 2013 +0000
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.)
---
agent/debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agent/debug.h b/agent/debug.h
index a31d95c..d802561 100644
--- 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git
More information about the Pkg-telepathy-commits
mailing list