diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-22 16:41:04 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-26 15:31:37 +0200 |
commit | 2379866c3bf7c5fd654cef64246af9d8a03f7d49 (patch) | |
tree | 2e9c4e78386ca433d5f76030c490863cc228742b /include | |
parent | e4751d340a49b117b90a411b179b8c892cf43d85 (diff) | |
download | qemu-2379866c3bf7c5fd654cef64246af9d8a03f7d49.zip qemu-2379866c3bf7c5fd654cef64246af9d8a03f7d49.tar.gz qemu-2379866c3bf7c5fd654cef64246af9d8a03f7d49.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/helper-gen.h.inc | 2 | ||||
-rw-r--r-- | include/exec/helper-head.h.inc (renamed from include/exec/helper-head.h) | 0 | ||||
-rw-r--r-- | include/exec/helper-info.c.inc | 2 | ||||
-rw-r--r-- | include/exec/helper-proto.h.inc | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/include/exec/helper-gen.h.inc b/include/exec/helper-gen.h.inc index c009641..d9fd3ed 100644 --- a/include/exec/helper-gen.h.inc +++ b/include/exec/helper-gen.h.inc @@ -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); \ diff --git a/include/exec/helper-head.h b/include/exec/helper-head.h.inc index 5ef467a..5ef467a 100644 --- a/include/exec/helper-head.h +++ b/include/exec/helper-head.h.inc diff --git a/include/exec/helper-info.c.inc b/include/exec/helper-info.c.inc index 530d2e6..c551736 100644 --- a/include/exec/helper-info.c.inc +++ b/include/exec/helper-info.c.inc @@ -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 diff --git a/include/exec/helper-proto.h.inc b/include/exec/helper-proto.h.inc index c3aa666..f8e57e4 100644 --- a/include/exec/helper-proto.h.inc +++ b/include/exec/helper-proto.h.inc @@ -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 |