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>
This commit is contained in:
Michael S. Tsirkin 2017-01-18 22:02:53 +02:00
parent a0def59428
commit f298318284

View 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)