zephyr/subsys
Peter Bigot 5412409781 include/bluetooth: 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
..
bluetooth include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
console cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
cpp cpp: support for 64-bit constructors 2019-07-30 18:55:34 -07:00
debug riscv32: rename to riscv 2019-08-02 13:54:48 -07:00
dfu dfu: make flash_img write to flash on buffer full 2019-07-29 10:22:51 +02:00
disk disk: kconfig: Remove redundant DISK_ACCESS_SDHC dependency 2019-08-07 04:27:15 -04:00
fb scripts: gen_cfb_font_header: modify to replicate cfb fonts 2019-07-31 05:43:50 -04:00
fs fs/nvs: skip deletion on non existing entry 2019-08-08 11:07:48 +02:00
jwt cleanup: include/: move zephyr/jwt.h to data/jwt.h 2019-06-27 22:55:49 -04:00
logging riscv32: rename to riscv 2019-08-02 13:54:48 -07:00
mgmt mcumgr: select NET_BUF when MCUMGR=y 2019-07-29 11:13:41 +02:00
net net: lwm2m: fix IP address max calc in conn mon obj 2019-08-09 23:22:13 +03:00
power cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
random cleanup: include/: move entropy.h to drivers/entropy.h 2019-06-27 22:55:49 -04:00
settings settings: align nvs read_callback return value 2019-08-12 15:25:17 +02:00
shell shell: Fix undefined macro warnings 2019-07-24 16:34:31 -04:00
stats cleanup: include/: move stats.h to stats/stats.h 2019-06-27 22:55:49 -04:00
storage subsys/storage/flash_map: detect missing flash device 2019-07-24 09:20:56 -04:00
testsuite arch: arm: Add Cortex-R support 2019-08-09 22:50:50 +02:00
usb usb: do not disable endpoints at USB_DC_SUSPEND event 2019-08-07 11:22:47 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig