|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 3/9] accel/tcg: Include missing 'exec/tswap.h' header in translator.c |
Date: | Wed, 11 Dec 2024 17:47:19 -0600 |
User-agent: | Mozilla Thunderbird |
On 12/11/24 17:03, Philippe Mathieu-Daudé wrote:
translator.c indirectly gets "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: accel/tcg/translator.c:433:15: error: call to undeclared function 'tswap16'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 433 | tgt = tswap16(raw); | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- accel/tcg/translator.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |