zephyr/lib/libc/minimal/include
Peter Bigot 849df51666 lib/libc: 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-19 23:36:59 +02:00
..
bits libc: minimal: rename private macro 2017-02-04 19:22:07 +00:00
sys lib/libc/minimal: Refined handle duplicate time definitions 2019-08-09 00:43:09 -07:00
assert.h cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
ctype.h libc: ctype: Fix operations between signed and unsigned types 2019-03-01 09:22:24 +01:00
errno.h cleanup: include/: move misc/errno_private.h to sys/errno_private.h 2019-06-27 22:55:49 -04:00
fcntl.h posix: unistd.h: open() doesn't belong here 2019-07-25 13:50:58 -04:00
inttypes.h stdint.h: streamline type definitions 2019-06-25 23:29:22 -04:00
limits.h limits.h: streamline value definitions 2019-07-05 10:05:37 -04:00
stdbool.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
stdint.h stdint.h: streamline type definitions 2019-06-25 23:29:22 -04:00
stdio.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
stdlib.h libc: minimal: Implement exit()/_exit() functions. 2019-05-23 09:27:59 -04:00
string.h libc: minimal: add strspn and strcspn support 2019-07-31 09:22:49 -07:00
strings.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
time.h lib/libc: rearrange for standard use of extern "C" 2019-08-19 23:36:59 +02:00