summaryrefslogtreecommitdiffstats
path: root/include/qemu/log-for-trace.h
diff options
context:
space:
mode:
authorRichard Henderson2022-04-17 20:29:57 +0200
committerRichard Henderson2022-04-20 19:51:11 +0200
commit3c06a41746fd0399a182839a6a25c79f1c4ee83a (patch)
treee6ef7b0e79043b84f6ee24cf7c0c41e641c70efe /include/qemu/log-for-trace.h
parentutil/log: Use qemu_log_trylock/unlock in qemu_log (diff)
downloadqemu-3c06a41746fd0399a182839a6a25c79f1c4ee83a.tar.gz
qemu-3c06a41746fd0399a182839a6a25c79f1c4ee83a.tar.xz
qemu-3c06a41746fd0399a182839a6a25c79f1c4ee83a.zip
util/log: Drop return value from qemu_log
The only user of this feature, tcg_dump_ops, has been converted to use fprintf directly. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220417183019.755276-18-richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu/log-for-trace.h')
-rw-r--r--include/qemu/log-for-trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/log-for-trace.h b/include/qemu/log-for-trace.h
index 5e41517227..d47c9cd446 100644
--- a/include/qemu/log-for-trace.h
+++ b/include/qemu/log-for-trace.h
@@ -30,6 +30,6 @@ static inline bool qemu_loglevel_mask(int mask)
}
/* main logging function */
-int G_GNUC_PRINTF(1, 2) qemu_log(const char *fmt, ...);
+void G_GNUC_PRINTF(1, 2) qemu_log(const char *fmt, ...);
#endif