zephyr/include/arch
Alberto Escolar Piedras fce0316687 POSIX arch: Fixe issues related to extern "C"
Related to #17997, for the POSIX arch:
* Remove some unnecessary extern "C" and ifdef blocks
* Move an include out of one of these blocks
* Add a missing extern "C" block

Background:
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: Alberto Escolar Piedras <alpi@oticon.com>
2019-08-12 15:10:15 +02:00
..
arc arch: arc: add initial support of ARC TEE 2019-08-10 17:45:22 +02:00
arm arch: arm: cortex_r: Add memory barriers for register accesses 2019-08-09 22:50:50 +02:00
common cleanup: include/: move sys_io.h to sys/sys_io.h 2019-06-27 22:55:49 -04:00
nios2 kernel: rename NANO_ESF 2019-07-25 15:06:58 -07:00
posix POSIX arch: Fixe issues related to extern "C" 2019-08-12 15:10:15 +02:00
riscv riscv: make core code 64-bit compatible 2019-08-02 13:54:48 -07:00
x86 x86: generate page tables at runtime 2019-08-07 12:50:53 -07:00
x86_64 kernel: rename NANO_ESF 2019-07-25 15:06:58 -07:00
xtensa kernel: rename NANO_ESF 2019-07-25 15:06:58 -07:00
cpu.h riscv32: rename to riscv 2019-08-02 13:54:48 -07:00
syscall.h arch/x86: move arch/x86/syscall.h to arch/x86/ia32/syscall.h 2019-07-02 19:30:00 -04:00