mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-05-13 15:13:36 +00:00
error: add the printf attribute to a static function
* lib/error.c (error_tail): Add the printf attribute, to placate gcc's -Werror=suggest-attribute=format option.
This commit is contained in:
@@ -195,7 +195,7 @@ print_errno_message (int errnum)
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
static void _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) _GL_ARG_NONNULL ((3))
|
||||
error_tail (int status, int errnum, const char *message, va_list args)
|
||||
{
|
||||
#if _LIBC
|
||||
|
||||
Reference in New Issue
Block a user