zephyr/samples
Peter Bigot 4914d0db3b samples/subsys/logging/logger: 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
..
application_development boards: arm: nrf52840_pca10056/nrf52_pca10040: enable pyocd runner 2019-07-10 12:11:46 -05:00
basic sample: blink_led: Adjust PWM period 2019-08-07 07:38:40 -05:00
bluetooth Bluetooth: samples: Reduce the bbc_microbit RAM usage 2019-08-15 15:07:12 +02:00
boards samples: add sample to show how ARC TEE works 2019-08-10 17:45:22 +02:00
cpp_synchronization cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
display samples: display: add a simple sample for st7789v display 2019-08-08 10:11:47 -05:00
drivers drivers: can: mcp2515: fix devicetree bindings 2019-08-18 09:56:42 +02:00
gui gui: Disable LVGL features by default 2019-08-09 07:35:38 -05:00
hello_world cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
mpu cleanup: include/: move flash.h to drivers/flash.h 2019-06-27 22:55:49 -04:00
net samples: net: echo_client: Add SOCKS5 support 2019-08-17 23:22:06 +02:00
nfc/nfc_hello cleanup: include/: move misc/byteorder.h to sys/byteorder.h 2019-06-27 22:55:49 -04:00
philosophers tests: samples: Apps shouldn't set tick rate 2019-07-02 22:52:29 -04:00
portability tests: several tweaks for passing tests on qemu 2019-08-08 21:56:45 +02:00
sensor boards: remove quarl_se_c1000 2019-07-29 21:30:25 -07:00
shields sample/shield: x-nucleo-iks01a3: add support to STTS751 2019-07-31 10:32:10 -04:00
subsys samples/subsys/logging/logger: rearrange for standard use of extern "C" 2019-08-19 23:36:59 +02:00
synchronization cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
testing/integration license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
userspace cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
xtensa_asm2 cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
classic.rst doc: restructure and create index pages 2019-02-05 07:04:40 -05:00
index.rst doc: use :zephyr_file: where appropriate 2019-03-09 09:50:27 -05:00