From f29831828441318c7916ae28e6e16e4a1c4a6795 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Wed, 18 Jan 2017 22:02:53 +0200 Subject: [PATCH] compiler: drop ; after BUILD_BUG_ON All users include the trailing ; anyway, let's require that - it seems cleaner. Signed-off-by: Michael S. Tsirkin Reviewed-by: Eric Blake Reviewed-by: Markus Armbruster --- include/qemu/compiler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h index 157698bfa9..75120826c1 100644 --- a/include/qemu/compiler.h +++ b/include/qemu/compiler.h @@ -86,7 +86,8 @@ #define type_check(t1,t2) ((t1*)0 - (t2*)0) #define QEMU_BUILD_BUG_ON(x) \ - typedef char glue(qemu_build_bug_on__,__LINE__)[(x)?-1:1] __attribute__((unused)); + typedef char glue(qemu_build_bug_on__, __LINE__)[(x) ? -1 : 1] \ + __attribute__((unused)) #if defined __GNUC__ # if !QEMU_GNUC_PREREQ(4, 4)