zephyr/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: fix a bug when CONFIG_SMP is enabled 2019-08-11 21:18:38 +02:00
arm arch: arm: Add Cortex-R5 support 2019-08-09 22:50:50 +02:00
common cleanup: include/: move misc/__assert.h to sys/__assert.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: toolchain arguments for a 64-bit build 2019-08-09 09:11:45 -05:00
x86 x86: add build assert that RAM bounds <= 4GB 2019-08-07 12:50:53 -07:00
x86_64 kernel: rename NANO_ESF 2019-07-25 15:06:58 -07:00
xtensa thread.c: remove vestigial CONFIG_INIT_STACKS cruft 2019-07-31 09:15:45 +03:00
CMakeLists.txt
Kconfig riscv32: rename to riscv 2019-08-02 13:54:48 -07:00