accel/tcg: Rename helper-head.h -> helper-head.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 in 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 rename "exec/helper-head.h" as "exec/helper-head.h.inc".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240424173333.96148-4-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2024-04-22 16:41:04 +02:00
parent e4751d340a
commit 2379866c3b
4 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
#include "tcg/tcg.h"
#include "tcg/helper-info.h"
#include "exec/helper-head.h"
#include "exec/helper-head.h.inc"
#define DEF_HELPER_FLAGS_0(name, flags, ret) \
extern TCGHelperInfo glue(helper_info_, name); \

View File

@ -7,7 +7,7 @@
#include "tcg/tcg.h"
#include "tcg/helper-info.h"
#include "exec/helper-head.h"
#include "exec/helper-head.h.inc"
/*
* Need one more level of indirection before stringification

View File

@ -5,7 +5,7 @@
* Define HELPER_H for the header file to be expanded.
*/
#include "exec/helper-head.h"
#include "exec/helper-head.h.inc"
/*
* Work around an issue with --enable-lto, in which GCC's ipa-split pass