diff options
Diffstat (limited to 'include/error.h')
-rw-r--r-- | include/error.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/error.h b/include/error.h index 866690e..d6acb6e 100644 --- a/include/error.h +++ b/include/error.h @@ -45,7 +45,7 @@ * @param args Formatting-arguments for `format`. */ void error(int, int, const char*, ...) - __GCC_ONLY(__attribute__((format(slibc_printf, 3, 4)))); + __GCC_ONLY(__attribute__((__format__(__slibc_printf__, 3, 4)))); /** * Variant of `error` that uses `va_list` instead of variadic arguments. @@ -82,7 +82,7 @@ void verror(int, int, const char*, va_list); * @param args Formatting-arguments for `format`. */ void error_at_line(int, int, const char*, unsigned int, const char*, ...) - __GCC_ONLY(__attribute__((format(slibc_printf, 5, 6)))); + __GCC_ONLY(__attribute__((__format__(__slibc_printf__, 5, 6)))); /** * Variant of `verror` that prints the filename and the line |