mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
c08401793a
commit
887ce500ef
4 changed files with 5 additions and 7 deletions
|
@ -225,7 +225,7 @@ our $Attribute = qr{
|
|||
volatile|
|
||||
QEMU_NORETURN|
|
||||
G_GNUC_WARN_UNUSED_RESULT|
|
||||
QEMU_SENTINEL|
|
||||
G_GNUC_NULL_TERMINATED|
|
||||
QEMU_PACKED|
|
||||
G_GNUC_PRINTF
|
||||
}x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue