tcg: Move TCG_TYPE_COUNT outside enum
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 19 Oct 2022 02:24:37 +0000 (12:24 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Jan 2023 19:41:28 +0000 (11:41 -0800)
commit89496a85b4696b797e904a65a10b0600a95a12ec
treef1516cb5ff4ab09194e5dd9afb09638be9cbb96a
parentaef8540290f46b40f225c9f6d993c77c0697ee7c
tcg: Move TCG_TYPE_COUNT outside enum

The count is not itself an enumerator.  Move it outside to
prevent the compiler from considering it with -Wswitch-enum.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg.h