diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-05 23:48:36 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-14 00:16:20 +0100 |
commit | 50e2b701876c087e14b1e7cabb2ffaa51008e174 (patch) | |
tree | e086c9940046ecc818ae3418865ebd002abf4d71 /hw/core/qdev-properties-system.c | |
parent | 1b26146e898086cd85be22170e7988017b481bb0 (diff) | |
download | qemu-50e2b701876c087e14b1e7cabb2ffaa51008e174.zip qemu-50e2b701876c087e14b1e7cabb2ffaa51008e174.tar.gz qemu-50e2b701876c087e14b1e7cabb2ffaa51008e174.tar.bz2 |
hw/mips: Include missing 'exec/tswap.h' header
Some files indirectly get "exec/tswap.h" declarations via
"exec/cpu-all.h". Include it directly to be able to remove
the former from the latter, otherwise we get:
hw/mips/malta.c:674:22: error: call to undeclared function 'tswap32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
674 | tswap32((1 << 31) /* ConfigEn */
| ^
hw/mips/fuloong2e.c:89:23: error: call to undeclared function 'tswap32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
89 | prom_buf[index] = tswap32(ENVP_VADDR + table_addr);
| ^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241211230357.97036-7-philmd@linaro.org>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions