diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-24 00:58:22 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-03-22 14:40:51 +0400 |
commit | 887ce500ef0046d35e613e40f7beb647a797b3e7 (patch) | |
tree | 1791a1be4f88d57d09c09c703fc305faabe361ca /include/qemu | |
parent | c08401793a1f298b4d52410835b01ca9b64c313a (diff) | |
download | qemu-887ce500ef0046d35e613e40f7beb647a797b3e7.zip qemu-887ce500ef0046d35e613e40f7beb647a797b3e7.tar.gz qemu-887ce500ef0046d35e613e40f7beb647a797b3e7.tar.bz2 |
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>
Diffstat (limited to 'include/qemu')
-rw-r--r-- | include/qemu/compiler.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h index 8385e47..0a5e67f 100644 --- a/include/qemu/compiler.h +++ b/include/qemu/compiler.h @@ -19,8 +19,6 @@ #define QEMU_NORETURN __attribute__ ((__noreturn__)) -#define QEMU_SENTINEL __attribute__((sentinel)) - #if defined(_WIN32) && (defined(__x86_64__) || defined(__i386__)) # define QEMU_PACKED __attribute__((gcc_struct, packed)) #else |