From 71ff29ae8911db49a82cd61a97ced3d8530166c9 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sat, 9 Aug 2014 23:08:26 +0200
Subject: Attributes don't apply to function definitions
---
src/common.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'src')
diff --git a/src/common.c b/src/common.c
index 389120c..5e4b130 100644
--- a/src/common.c
+++ b/src/common.c
@@ -1390,7 +1390,8 @@ join_str_vector (const struct str_vector *v, char delimiter)
return str_steal (&result);
}
-ATTRIBUTE_PRINTF (1, 2)
+static char *xstrdup_printf (const char *, ...) ATTRIBUTE_PRINTF (1, 2);
+
static char *
xstrdup_printf (const char *format, ...)
{
--
cgit v1.2.3-70-g09d2