diff options
author | Michael S. Tsirkin | 2017-01-18 21:02:53 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2017-01-31 14:57:27 +0100 |
commit | f29831828441318c7916ae28e6e16e4a1c4a6795 (patch) | |
tree | 4e4b8e4216b797bca20fe267fbfe5c10eff53efa /include/qemu | |
parent | Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (diff) | |
download | qemu-f29831828441318c7916ae28e6e16e4a1c4a6795.tar.gz qemu-f29831828441318c7916ae28e6e16e4a1c4a6795.tar.xz qemu-f29831828441318c7916ae28e6e16e4a1c4a6795.zip |
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 <mst@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r-- | include/qemu/compiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
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) |