From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoRMp-0008WL-Hj for qemu-devel@nongnu.org; Fri, 08 Apr 2016 04:02:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoRMo-0005aE-2d for qemu-devel@nongnu.org; Fri, 08 Apr 2016 04:02:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoRMn-0005aA-TN for qemu-devel@nongnu.org; Fri, 08 Apr 2016 04:02:10 -0400 Date: Fri, 8 Apr 2016 11:02:05 +0300 From: "Michael S. Tsirkin" Message-ID: <1460102154-16096-2-git-send-email-mst@redhat.com> References: <1460102154-16096-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460102154-16096-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL 01/15] acpi: Add missing GCC_FMT_ATTR List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Stefan Weil , Igor Mammedov From: Stefan Weil This fixes a compiler warning when compiling with -Wextra. Signed-off-by: Stefan Weil Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- 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 -- MST