compiler.h: replace QEMU_SENTINEL with G_GNUC_NULL_TERMINATED
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 23 Feb 2022 20:58:22 +0000 (00:58 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 22 Mar 2022 10:40:51 +0000 (14:40 +0400)
commit887ce500ef0046d35e613e40f7beb647a797b3e7
tree1791a1be4f88d57d09c09c703fc305faabe361ca
parentc08401793a1f298b4d52410835b01ca9b64c313a
compiler.h: replace QEMU_SENTINEL with G_GNUC_NULL_TERMINATED

One less qemu-specific macro. It also helps to make some headers/units
only depend on glib, and thus moved in standalone projects eventually.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
include/qemu/compiler.h
include/qom/object.h
scripts/checkpatch.pl
scripts/cocci-macro-file.h