Skip to content

Commit 883cc6c

Browse files
philmdrth7680
authored andcommitted
qemu/atomic: Rename atomic128-ldst.h headers using .h.inc suffix
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 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 'atomic128-ldst.h' as 'atomic128-ldst.h.inc'. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Richard Henderson <[email protected]> Message-ID: <[email protected]>
1 parent 1560696 commit 883cc6c

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

host/include/x86_64/host/atomic128-ldst.h renamed to host/include/x86_64/host/atomic128-ldst.h.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static inline void atomic16_set(Int128 *ptr, Int128 val)
6969
}
7070
#else
7171
/* Provide QEMU_ERROR stubs. */
72-
#include "host/include/generic/host/atomic128-ldst.h"
72+
#include "host/include/generic/host/atomic128-ldst.h.inc"
7373
#endif
7474

7575
#endif /* X86_64_ATOMIC128_LDST_H */

host/include/x86_64/host/load-extract-al16-al8.h.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#define X86_64_LOAD_EXTRACT_AL16_AL8_H
1010

1111
#ifdef CONFIG_INT128_TYPE
12-
#include "host/atomic128-ldst.h"
12+
#include "host/atomic128-ldst.h.inc"
1313

1414
/**
1515
* load_atom_extract_al16_or_al8:

include/qemu/atomic128.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@
5959
*/
6060

6161
#include "host/atomic128-cas.h.inc"
62-
#include "host/atomic128-ldst.h"
62+
#include "host/atomic128-ldst.h.inc"
6363

6464
#endif /* QEMU_ATOMIC128_H */

0 commit comments

Comments
 (0)