Attributes don't apply to function definitions
This commit is contained in:
parent
266626584d
commit
71ff29ae89
|
@ -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, ...)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue