aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2016-03-16 20:43:37 +0100
committerMichael S. Tsirkin <mst@redhat.com>2016-04-07 19:57:33 +0300
commit8d0ac88e231785feebe14f2cbeaac16631cbf257 (patch)
tree2f34ef8a5c9cc558e9fd860cf2557722c74917d5 /include
parent7acbff99c6c285b3070bf0e768d56f511e2bf346 (diff)
acpi: Add missing GCC_FMT_ATTR
This fixes a compiler warning when compiling with -Wextra. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/acpi/aml-build.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h
index 66f48ec04f..2c994b351a 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