zephyr/include/arch/posix
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
..
arch.h kernel: rename NANO_ESF 2019-07-25 15:06:58 -07:00
asm_inline.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
asm_inline_gcc.h POSIX arch: Fixe issues related to extern "C" 2019-08-12 15:10:15 +02:00
linker.ld Revert "linker: warn about orphan sections" 2018-10-14 12:14:04 -04:00
native_tasks.ld linker: Remove unused (OPTIONAL) from linker scripts 2019-03-15 06:42:02 -05:00