aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-08-09 23:08:26 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-08-09 23:10:40 +0200
commit71ff29ae8911db49a82cd61a97ced3d8530166c9 (patch)
tree234aa057c31e92c60361f404988a35ab8b79f4fb /src
parent266626584d386680177add4ec2c35e69add2fc03 (diff)
downloadxK-71ff29ae8911db49a82cd61a97ced3d8530166c9.tar.gz
xK-71ff29ae8911db49a82cd61a97ced3d8530166c9.tar.xz
xK-71ff29ae8911db49a82cd61a97ced3d8530166c9.zip
Attributes don't apply to function definitions
Diffstat (limited to 'src')
-rw-r--r--src/common.c3
1 files changed, 2 insertions, 1 deletions
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, ...)
{