]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/elf_ops: Rename elf_ops.h -> elf_ops.h.inc
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 18 Apr 2024 14:49:16 +0000 (16:49 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 25 Apr 2024 10:48:12 +0000 (12:48 +0200)
commit159fb790e48992f74644b0b0876615e8caacbfe4
tree794e80ccfd24b6819899721d1fa7c290c7aa003c
parente0ddabc6d4cfef4a5c7f154f0b0ad00dbf9a18d0
hw/elf_ops: Rename elf_ops.h -> elf_ops.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 "hw/elf_ops.h" as "hw/elf_ops.h.inc".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240424173333.96148-2-philmd@linaro.org>
bsd-user/elfload.c
hw/core/loader.c
include/hw/elf_ops.h.inc [moved from include/hw/elf_ops.h with 100% similarity]
linux-user/elfload.c