zephyr/arch/xtensa/include
Peter Bigot 817f527641 arch/xtensa: rearrange for standard use of extern "C"
Consistently place C++ use of extern "C" after all include directives,
within the negative branch of _ASMLANGUAGE if used.

Background from issue #17997:

Declarations that use C linkage should be placed within extern "C"
so the language linkage is correct when the header is included by
a C++ compiler.

Similarly #include directives should be outside the extern "C" to
ensure the language-specific default linkage is applied to any
declarations provided by the included header.

See: https://en.cppreference.com/w/cpp/language/language_linkage
Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-08-20 00:49:15 +02:00
..
kernel_arch_data.h arch/xtensa: rearrange for standard use of extern "C" 2019-08-20 00:49:15 +02:00
kernel_arch_func.h arch/xtensa: rearrange for standard use of extern "C" 2019-08-20 00:49:15 +02:00
kernel_arch_thread.h docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
offsets_short_arch.h
xtensa_api.h arch: Rename reserved function names 2019-04-03 17:31:00 -04:00
xtensa_config.h arch/xtensa: rearrange for standard use of extern "C" 2019-08-20 00:49:15 +02:00
xtensa_context.h arch/xtensa: rearrange for standard use of extern "C" 2019-08-20 00:49:15 +02:00
xtensa_rtos.h arch: xtensa: Get CPU clock frequency from DTS 2019-07-24 15:10:02 +02:00
xtensa_timer.h arch: xtensa: Get CPU clock frequency from DTS 2019-07-24 15:10:02 +02:00
xtensa-asm2-context.h
xtensa-asm2-s.h xtensa: mask interrupts earlier 2019-08-14 10:11:05 -07:00
xtensa-asm2.h include: Add missing headers guard 2018-09-17 15:49:26 -04:00