Attributes don't apply to function definitions

This commit is contained in:
Přemysl Eric Janouch 2014-08-09 23:08:26 +02:00
parent 266626584d
commit 71ff29ae89
1 changed files with 2 additions and 1 deletions

View File

@ -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, ...)
{