diff options
author | Richard Henderson | 2022-11-29 02:05:47 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2022-11-29 17:09:11 +0100 |
commit | fb72e779ebe3a51f55b16a49738380ee3e54c7d5 (patch) | |
tree | 49bd101f4edc44ffc6ed35b9aafe49a559193f34 /include/net/net.h | |
parent | Add G_GNUC_PRINTF to function qemu_set_info_str and fix related issues (diff) | |
download | qemu-fb72e779ebe3a51f55b16a49738380ee3e54c7d5.tar.gz qemu-fb72e779ebe3a51f55b16a49738380ee3e54c7d5.tar.xz qemu-fb72e779ebe3a51f55b16a49738380ee3e54c7d5.zip |
replay: Fix declaration of replay_read_next_clock
Fixes the build with gcc 13:
replay/replay-time.c:34:6: error: conflicting types for \
'replay_read_next_clock' due to enum/integer mismatch; \
have 'void(ReplayClockKind)' [-Werror=enum-int-mismatch]
34 | void replay_read_next_clock(ReplayClockKind kind)
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../qemu/replay/replay-time.c:14:
replay/replay-internal.h:139:6: note: previous declaration of \
'replay_read_next_clock' with type 'void(unsigned int)'
139 | void replay_read_next_clock(unsigned int kind);
| ^~~~~~~~~~~~~~~~~~~~~~
Fixes: 8eda206e090 ("replay: recording and replaying clock ticks")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20221129010547.284051-1-richard.henderson@linaro.org>
Diffstat (limited to 'include/net/net.h')
0 files changed, 0 insertions, 0 deletions