func_attr.h: FUNC_ATTR_PRINTF

This commit is contained in:
Michael Hoffmann
2018-09-23 10:49:20 +02:00
committed by Justin M. Keyes
parent 2b06c32a23
commit 197d907e09
4 changed files with 15 additions and 5 deletions

View File

@@ -1157,7 +1157,7 @@ static void set_option_value_err(char *key,
}
void api_set_error(Error *err, ErrorType errType, const char *format, ...)
FUNC_ATTR_NONNULL_ALL
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PRINTF(3, 4)
{
assert(kErrorTypeNone != errType);
va_list args1;