zephyr/subsys/net/l2
Jukka Rissanen 5c05ef5101 net: Move include files outside of extern "C" block
This is related to findings in #17997 and changes network related
header files to have include files outside of extern "C" { } block.

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: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2019-08-06 14:46:36 +03:00
..
bluetooth Bluetooth: Host: Print error codes in hex 2019-08-05 12:18:17 +02:00
canbus net: Check device driver API pointer 2019-05-07 15:41:15 +03:00
dummy net: Check device driver API pointer 2019-05-07 15:41:15 +03:00
ethernet net: Move include files outside of extern "C" block 2019-08-06 14:46:36 +03:00
ieee802154 cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
openthread net: openthread: Allow DHCP configuration of OpenThread in Zephyr 2019-07-22 13:23:05 +03:00
ppp net: ppp: Handle received Discard-Request 2019-07-29 10:24:46 +03:00
wifi cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt net: ppp: Initial support for point-to-point protocol 2019-07-29 10:24:46 +03:00
Kconfig net: ppp: Initial support for point-to-point protocol 2019-07-29 10:24:46 +03:00