compiler: drop ; after BUILD_BUG_ON

All users include the trailing ; anyway, let's require that -
it seems cleaner.

Backports commit f29831828441318c7916ae28e6e16e4a1c4a6795 from qemu
This commit is contained in:
Michael S. Tsirkin 2018-03-02 00:01:36 -05:00 committed by Lioncash
parent babf848b82
commit beca05eb5f
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7

View File

@ -61,7 +61,7 @@ static union MSVC_FLOAT_HACK __NAN = {{0x00, 0x00, 0xC0, 0x7F}};
#define cat(x,y) x ## y
#define cat2(x,y) cat(x,y)
#define QEMU_BUILD_BUG_ON(x) \
typedef char cat2(qemu_build_bug_on__,__LINE__)[(x)?-1:1] QEMU_UNUSED_VAR;
typedef char cat2(qemu_build_bug_on__,__LINE__)[(x)?-1:1] QEMU_UNUSED_VAR
#define GCC_FMT_ATTR(n, m)