summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2019-01-21 14:18:41 +0000
committerDavid King <amigadave@amigadave.com>2019-01-21 14:20:06 +0000
commit48bb6d9c472c0f88731d3d9b04da108b9cdcccdb (patch)
tree79c9113582bf115c476d33acb57bb22615e79330
parent41e3bb7675141a039c20cc136da412e3b36939c2 (diff)
downloadyelp-48bb6d9c472c0f88731d3d9b04da108b9cdcccdb.tar.gz
Add G_GNUC_PRINTF attribute to yelp_debug()
Silence a compiler warning.
-rw-r--r--libyelp/yelp-debug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libyelp/yelp-debug.h b/libyelp/yelp-debug.h
index 620a4bf1..6e057d51 100644
--- a/libyelp/yelp-debug.h
+++ b/libyelp/yelp-debug.h
@@ -68,7 +68,8 @@ typedef enum {
G_GNUC_INTERNAL
void yelp_debug (const gchar *file, guint line,
- const gchar *function, guint flags, const gchar *format, ...);
+ const gchar *function, guint flags,
+ const gchar *format, ...) G_GNUC_PRINTF (5, 6);
G_END_DECLS