]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
accel/tcg: Rename helper-head.h -> helper-head.h.inc
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 22 Apr 2024 14:41:04 +0000 (16:41 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 13:31:37 +0000 (15:31 +0200)
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>

include/exec/helper-gen.h.inc
include/exec/helper-head.h.inc [moved from include/exec/helper-head.h with 100% similarity]
include/exec/helper-info.c.inc
include/exec/helper-proto.h.inc

index c009641517720460a1de02c513beef40ac2251d3..d9fd3ed72abe99e49ab245b13ad13d0f0f1cc2f7 100644 (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);                          \
index 530d2e6d3560d832617e950b6636a5f68bf0bf1b..c551736d49f5f42cb66527c84d6a6003f38edca1 100644 (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
index c3aa666929dbf05ddc84652a7f411d53b058a682..f8e57e43ce70ab713c5c5bb37185cf1b3f52655a 100644 (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