OSDN Git Service

compiler.h: replace QEMU_WARN_UNUSED_RESULT with G_GNUC_WARN_UNUSED_RESULT
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)
commitc08401793a1f298b4d52410835b01ca9b64c313a
treedc6e619b3732ab994e9597f26bb8a98b7cdf8430
parent9edc6313da34699ebd2bae4573ea22339b26450a
compiler.h: replace QEMU_WARN_UNUSED_RESULT with G_GNUC_WARN_UNUSED_RESULT

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>
block/qcow2-refcount.c
include/qemu-common.h
include/qemu/compiler.h
include/qemu/range.h
scripts/checkpatch.pl
scripts/cocci-macro-file.h