]> git.proxmox.com Git - mirror_qemu.git/commit
target/i386: Rename helper template headers as '.h.inc'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 6 Jun 2023 13:29:54 +0000 (15:29 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 13 Jun 2023 09:28:58 +0000 (11:28 +0200)
commitf1cc7c28b611a5521e7e2e90d562e4b25af97d22
treec5771738434924bb28df2a05972207e39639ceab
parent6d70b36b0207120461e586bf25d4e47baff1a0dc
target/i386: Rename helper template headers as '.h.inc'

Since commit 139c1837db ("meson: rename included C source files
to .c.inc"), QEMU standard procedure for included C files is to
use *.c.inc.

Besides, since commit 6a0057aa22 ("docs/devel: make a statement
about includes") this is documented as the Coding Style:

  If you do use template header files they should be named with
  the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are
  being included for expansion.

Therefore move the included templates in the tcg/ directory and
rename as '.h.inc'.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230608133108.72655-5-philmd@linaro.org>
target/i386/helper.h
target/i386/ops_sse_header.h [deleted file]
target/i386/shift_helper_template.h [deleted file]
target/i386/tcg/cc_helper.c
target/i386/tcg/cc_helper_template.h [deleted file]
target/i386/tcg/cc_helper_template.h.inc [new file with mode: 0644]
target/i386/tcg/int_helper.c
target/i386/tcg/ops_sse_header.h.inc [new file with mode: 0644]
target/i386/tcg/shift_helper_template.h.inc [new file with mode: 0644]