zephyr/soc/arm
Peter Bigot 0ddcf49b85 soc/arm/silabs_exx32: clean up use of extern "C"
Remove extern "C" support from files that don't declare symbols subject
to language linkage effects.

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-20 00:49:15 +02:00
..
arm soc/arm/arm: rearrange for standard use of extern "C" 2019-08-20 00:49:15 +02:00
atmel_sam soc: same70: Get CPU clock frequency from DTS 2019-07-24 15:10:02 +02:00
atmel_sam0 soc: samr21: Get CPU clock frequency from DTS 2019-07-24 15:10:02 +02:00
cypress soc: Port usage of soc-*.ld to use Cmake 2019-05-20 22:28:28 -04:00
microchip_mec soc: microchip_mec: mec1501: Fixup GPIO dts defines 2019-08-09 13:54:49 -05:00
nordic_nrf soc: nrf9160: Remove unsupported Kconfig option GPIO_AS_PINRESET 2019-08-09 20:14:24 +02:00
nxp_imx soc: arm: mcimx6x_m4: Floating Point support required by default 2019-08-16 11:53:36 -05:00
nxp_kinetis soc: arm: nxp: ke1xf: add FlexTimer (FTM) module support 2019-08-09 07:32:43 -05:00
nxp_lpc soc: lpc54xxx: Get CPU clock frequency from DTS 2019-07-24 15:10:02 +02:00
silabs_exx32 soc/arm/silabs_exx32: clean up use of extern "C" 2019-08-20 00:49:15 +02:00
st_stm32 soc: arm: stm32: fix sign of timeout variable 2019-08-19 15:12:44 +02:00
ti_lm3s6965 soc/arm/ti_lm3s6965: remove unnecessary extern C block 2019-08-20 00:49:15 +02:00
ti_simplelink drivers: uart_stellaris: Get clock frequency from DTS 2019-07-24 15:10:02 +02:00
xilinx_zynqmp soc/arm/xilinx_zynqmp: clean up use of extern "C" 2019-08-20 00:49:15 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig soc: arm: Kconfig option to indicate double-precision FP 2019-02-08 14:09:18 -06:00