From: Michael S. Tsirkin Date: Wed, 18 Jan 2017 20:02:53 +0000 (+0200) Subject: compiler: drop ; after BUILD_BUG_ON X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f29831828441318c7916ae28e6e16e4a1c4a6795;p=qemu.git 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 --- 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)