zephyr/include/bluetooth
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
..
mesh
services include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
a2dp-codec.h
a2dp.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
att.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
avdtp.h
bluetooth.h Bluetooth: Host: Add whitelist support in Bluetooth Host API 2019-08-09 16:26:10 +02:00
buf.h Bluetooth: Introduce separate pool for discardable events 2019-07-01 16:36:15 +03:00
conn.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
controller.h
crypto.h
gatt.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
hci_raw.h
hci_vs.h
hci.h Bluetooth: Host: Add whitelist support in Bluetooth Host API 2019-08-09 16:26:10 +02:00
hfp_hf.h
l2cap.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
mesh.h
rfcomm.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
sdp.h include/bluetooth: rearrange for standard use of extern "C" 2019-08-13 18:00:31 +02:00
testing.h
uuid.h Bluetooth: Host: Find by type should accept 128bit UUIDs 2019-08-07 15:39:11 +02:00