]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
tests/bench: Rename test_akcipher_keys.inc -> test_akcipher_keys.c.inc
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 10 Sep 2024 11:28:33 +0000 (13:28 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 20 Sep 2024 07:08:24 +0000 (10:08 +0300)
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.

Rename "test_akcipher_keys.inc" as "test_akcipher_keys.c.inc".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/bench/benchmark-crypto-akcipher.c
tests/bench/test_akcipher_keys.c.inc [moved from tests/bench/test_akcipher_keys.inc with 100% similarity]

index 750c7e89ee7303d03966007491c588ce08d3179f..0a6e5db1d6c32fa699be046d6e8ce0a40ad01ad4 100644 (file)
@@ -16,7 +16,7 @@
 #include "crypto/akcipher.h"
 #include "standard-headers/linux/virtio_crypto.h"
 
-#include "test_akcipher_keys.inc"
+#include "test_akcipher_keys.c.inc"
 
 static QCryptoAkCipher *create_rsa_akcipher(const uint8_t *priv_key,
                                             size_t keylen,