compiler: drop ; after BUILD_BUG_ON
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Jan 2017 20:02:53 +0000 (22:02 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 31 Jan 2017 13:57:27 +0000 (15:57 +0200)
All users include the trailing ; anyway, let's require that -
it seems cleaner.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
include/qemu/compiler.h

index 157698bfa952956e585560031953e37093283b60..75120826c103454aeb06cfdceb0035cdbef7d0d4 100644 (file)
@@ -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)