zephyr/lib
Peter Bigot b6dafeb612 include/lvgl: 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-13 18:00:31 +02:00
..
cmsis_rtos_v1 cleanup: include/: move atomic.h to sys/atomic.h 2019-06-27 22:55:49 -04:00
cmsis_rtos_v2 CMSIS v2: Work around time unit confusion 2019-07-02 22:52:29 -04:00
gui include/lvgl: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
libc lib/libc/minimal: Refined handle duplicate time definitions 2019-08-09 00:43:09 -07:00
os lib: os: add sys_sem data type 2019-07-24 10:12:25 -07:00
posix lib: posix: Switch to use zephyr_interface_library_named cmake directive 2019-08-08 14:31:35 +02:00
updatehub cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt lib: updatehub: Add UpdateHub.io support 2019-06-05 00:20:37 +02:00
Kconfig lib: updatehub: Add UpdateHub.io support 2019-06-05 00:20:37 +02:00