On Wed, 16 Mar 2016 20:43:37 +0100 Stefan Weil <s...@weilnetz.de> wrote:
> This fixes a compiler warning when compiling with -Wextra. > > Signed-off-by: Stefan Weil <s...@weilnetz.de> Reviewed-by: Igor Mammedov <imamm...@redhat.com> > --- > include/hw/acpi/aml-build.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h > index 66f48ec..2c994b3 100644 > --- a/include/hw/acpi/aml-build.h > +++ b/include/hw/acpi/aml-build.h > @@ -369,6 +369,7 @@ build_rsdt(GArray *table_data, GArray *linker, GArray > *table_offsets, > const char *oem_id, const char *oem_table_id); > > int > -build_append_named_dword(GArray *array, const char *name_format, ...); > +build_append_named_dword(GArray *array, const char *name_format, ...) > +GCC_FMT_ATTR(2, 3); > > #endif