|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 7/9] hw/sh4/r2d: Include missing 'exec/tswap.h' header |
Date: | Wed, 11 Dec 2024 18:02:09 -0600 |
User-agent: | Mozilla Thunderbird |
On 12/11/24 17:03, Philippe Mathieu-Daudé wrote:
r2d.c 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/sh4/r2d.c:357:35: error: call to undeclared function 'tswap32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | boot_params.loader_type = tswap32(1); | ^ Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> --- hw/sh4/r2d.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |