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 | c08401793a1f298b4d52410835b01ca9b64c313a (patch) | |
| tree | dc6e619b3732ab994e9597f26bb8a98b7cdf8430 /include/qemu-common.h | |
| parent | 9edc6313da34699ebd2bae4573ea22339b26450a (diff) | |
| download | focaccia-qemu-c08401793a1f298b4d52410835b01ca9b64c313a.tar.gz focaccia-qemu-c08401793a1f298b4d52410835b01ca9b64c313a.zip | |
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>
Diffstat (limited to 'include/qemu-common.h')
| -rw-r--r-- | include/qemu-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu-common.h b/include/qemu-common.h index 9c04fa94e8..19e254dbe5 100644 --- a/include/qemu-common.h +++ b/include/qemu-common.h @@ -27,7 +27,7 @@ int qemu_main(int argc, char **argv, char **envp); #endif ssize_t qemu_write_full(int fd, const void *buf, size_t count) - QEMU_WARN_UNUSED_RESULT; + G_GNUC_WARN_UNUSED_RESULT; #ifndef _WIN32 int qemu_pipe(int pipefd[2]); |