Skip to content

Commit

Permalink
tests/tcg/aarch64: Rename bti-crt.inc.c -> bti-crt.c.inc
Browse files Browse the repository at this point in the history
Since commit 139c183 ("meson: rename included C source files
to .c.inc"), QEMU standard procedure for included C files is to
use *.c.inc.

Besides, since commit 6a0057a ("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 rename 'bti-crt.inc.c' as 'bti-crt.c.inc'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230606141252.95032-6-philmd@linaro.org>
  • Loading branch information
philmd committed Aug 31, 2023
1 parent d4761b6 commit 0b2d8bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/tcg/aarch64/bti-1.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Branch target identification, basic notskip cases.
*/

#include "bti-crt.inc.c"
#include "bti-crt.c.inc"

static void skip2_sigill(int sig, siginfo_t *info, ucontext_t *uc)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/tcg/aarch64/bti-3.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* BTI vs PACIASP
*/

#include "bti-crt.inc.c"
#include "bti-crt.c.inc"

static void skip2_sigill(int sig, siginfo_t *info, ucontext_t *uc)
{
Expand Down
File renamed without changes.

0 comments on commit 0b2d8bd

Please sign in to comment.