From 29136e51cc115d78918af8bdf97c73d293cd367d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 12 Jun 2015 19:26:01 -0600 Subject: [PATCH] Clean up and review of header files for conformance to standards --- arch/arm/include/a1x/a10_irq.h | 3 ++- arch/arm/include/a1x/irq.h | 3 ++- arch/arm/include/arch.h | 3 ++- arch/arm/include/arm/irq.h | 3 ++- arch/arm/include/armv6-m/irq.h | 3 ++- arch/arm/include/armv6-m/syscall.h | 3 ++- arch/arm/include/armv7-a/syscall.h | 3 ++- arch/arm/include/armv7-m/irq.h | 3 ++- arch/arm/include/armv7-m/syscall.h | 3 ++- arch/arm/include/c5471/irq.h | 3 ++- arch/arm/include/dm320/irq.h | 3 ++- arch/arm/include/imx/irq.h | 3 ++- arch/arm/include/irq.h | 3 ++- arch/arm/include/kl/irq.h | 3 ++- arch/arm/include/lpc31xx/irq.h | 3 ++- arch/arm/include/lpc43xx/irq.h | 3 ++- arch/arm/include/nuc1xx/chip.h | 3 ++- arch/arm/include/nuc1xx/irq.h | 3 ++- arch/arm/include/nuc1xx/nuc120_irq.h | 3 ++- arch/arm/include/sam34/irq.h | 3 ++- arch/arm/include/sam34/sam3u_irq.h | 3 ++- arch/arm/include/sam34/sam3x_irq.h | 3 ++- arch/arm/include/sam34/sam4e_irq.h | 3 ++- arch/arm/include/sam34/sam4l_irq.h | 3 ++- arch/arm/include/sam34/sam4s_irq.h | 3 ++- arch/arm/include/sama5/sama5d3_irq.h | 3 ++- arch/arm/include/sama5/sama5d4_irq.h | 3 ++- arch/arm/include/samdl/samd20_irq.h | 3 ++- arch/arm/include/stm32/irq.h | 3 ++- arch/arm/include/stm32/stm32f10xxx_irq.h | 3 ++- arch/arm/include/stm32/stm32f20xxx_irq.h | 3 ++- arch/arm/include/stm32/stm32f30xxx_irq.h | 3 ++- arch/arm/include/stm32/stm32f37xxx_irq.h | 3 ++- arch/arm/include/stm32/stm32f40xxx_irq.h | 3 ++- arch/arm/include/stm32/stm32l15xxx_irq.h | 3 ++- arch/arm/include/str71x/irq.h | 3 ++- arch/arm/include/syscall.h | 3 ++- arch/arm/src/arm/arm.h | 3 ++- arch/arm/src/armv7-a/arm.h | 3 ++- arch/arm/src/armv7-a/cp15_cacheops.h | 3 ++- arch/arm/src/armv7-a/fpu.h | 3 ++- arch/arm/src/armv7-a/mmu.h | 3 ++- arch/arm/src/armv7-a/sctlr.h | 3 ++- arch/arm/src/kl/kl_clockconfig.h | 3 ++- arch/arm/src/kl/kl_dma.h | 3 ++- arch/arm/src/kl/kl_irq.h | 3 ++- arch/arm/src/kl/kl_pwm.h | 3 ++- arch/arm/src/kl/kl_spi.h | 3 ++- arch/arm/src/lpc17xx/lpc17_sdcard.h | 3 ++- arch/arm/src/lpc43xx/chip/lpc43_ethernet.h | 3 ++- arch/arm/src/lpc43xx/lpc43_adc.h | 3 ++- arch/arm/src/lpc43xx/lpc43_spifi.h | 3 ++- arch/arm/src/nuc1xx/nuc_gpio.h | 3 ++- arch/arm/src/sam34/sam_udp.h | 3 ++- arch/arm/src/sama5/sam_can.h | 3 ++- arch/arm/src/sama5/sam_isi.h | 3 ++- arch/arm/src/sama5/sam_nand.h | 3 ++- arch/arm/src/sama5/sam_pck.h | 3 ++- arch/arm/src/sama5/sam_sckc.h | 3 ++- arch/arm/src/sama5/sam_trng.h | 3 ++- arch/arm/src/sama5/sam_udphs.h | 3 ++- arch/arm/src/sama5/sam_wdt.h | 3 ++- arch/arm/src/stm32/stm32_tim.h | 3 ++- arch/arm/src/stm32/stm32_usbhost.h | 3 ++- arch/avr/include/arch.h | 3 ++- arch/avr/include/at32uc3/irq.h | 3 ++- arch/avr/include/at90usb/irq.h | 3 ++- arch/avr/include/avr/irq.h | 3 ++- arch/avr/include/avr32/irq.h | 3 ++- arch/avr/include/irq.h | 3 ++- arch/avr/include/syscall.h | 3 ++- arch/avr/include/xmega/xmegac_irq.h | 3 ++- arch/hc/include/arch.h | 3 ++- arch/hc/include/hc12/irq.h | 3 ++- arch/hc/include/hcs12/irq.h | 3 ++- arch/hc/include/irq.h | 3 ++- arch/hc/include/m9s12/irq.h | 3 ++- arch/hc/include/syscall.h | 3 ++- arch/mips/include/arch.h | 3 ++- arch/mips/include/mips32/cp0.h | 3 ++- arch/mips/include/mips32/registers.h | 3 ++- arch/mips/include/pic32mx/chip.h | 3 ++- arch/mips/include/pic32mx/cp0.h | 3 ++- arch/mips/include/pic32mx/irq.h | 3 ++- arch/mips/include/pic32mx/irq_1xx2xx.h | 3 ++- arch/mips/include/pic32mx/irq_3xx4xx.h | 3 ++- arch/mips/include/pic32mx/irq_5xx6xx7xx.h | 3 ++- arch/mips/include/syscall.h | 3 ++- arch/mips/src/mips32/mips32-memorymap.h | 3 ++- arch/mips/src/pic32mx/chip.h | 3 ++- arch/mips/src/pic32mx/pic32mx-adc.h | 3 ++- arch/mips/src/pic32mx/pic32mx-bmx.h | 3 ++- arch/mips/src/pic32mx/pic32mx-can.h | 3 ++- arch/mips/src/pic32mx/pic32mx-che.h | 3 ++- arch/mips/src/pic32mx/pic32mx-cm.h | 3 ++- arch/mips/src/pic32mx/pic32mx-cvr.h | 3 ++- arch/mips/src/pic32mx/pic32mx-ddp.h | 3 ++- arch/mips/src/pic32mx/pic32mx-devcfg.h | 3 ++- arch/mips/src/pic32mx/pic32mx-dma.h | 3 ++- arch/mips/src/pic32mx/pic32mx-ethernet.h | 3 ++- arch/mips/src/pic32mx/pic32mx-flash.h | 3 ++- arch/mips/src/pic32mx/pic32mx-i2c.h | 3 ++- arch/mips/src/pic32mx/pic32mx-ic.h | 3 ++- arch/mips/src/pic32mx/pic32mx-int.h | 3 ++- arch/mips/src/pic32mx/pic32mx-ioport.h | 3 ++- arch/mips/src/pic32mx/pic32mx-memorymap.h | 3 ++- arch/mips/src/pic32mx/pic32mx-oc.h | 3 ++- arch/mips/src/pic32mx/pic32mx-osc.h | 3 ++- arch/mips/src/pic32mx/pic32mx-pmp.h | 3 ++- arch/mips/src/pic32mx/pic32mx-pps.h | 3 ++- arch/mips/src/pic32mx/pic32mx-reset.h | 3 ++- arch/mips/src/pic32mx/pic32mx-rtcc.h | 3 ++- arch/mips/src/pic32mx/pic32mx-spi.h | 3 ++- arch/mips/src/pic32mx/pic32mx-timer.h | 3 ++- arch/mips/src/pic32mx/pic32mx-uart.h | 3 ++- arch/mips/src/pic32mx/pic32mx-usbotg.h | 3 ++- arch/mips/src/pic32mx/pic32mx-wdt.h | 3 ++- arch/mips/src/pic32mz/chip/pic32mz-spi.h | 3 ++- arch/rgmp/include/math.h | 3 ++- arch/rgmp/include/x86/arch/subarch/arch.h | 3 ++- arch/sh/include/arch.h | 3 ++- arch/sh/include/irq.h | 3 ++- arch/sh/include/m16c/irq.h | 3 ++- arch/sh/include/sh1/irq.h | 3 ++- arch/sh/include/syscall.h | 3 ++- arch/sim/include/arch.h | 3 ++- arch/sim/include/syscall.h | 3 ++- arch/x86/include/arch.h | 3 ++- arch/x86/include/i486/io.h | 3 ++- arch/x86/include/i486/irq.h | 3 ++- arch/x86/include/io.h | 3 ++- arch/x86/include/irq.h | 3 ++- arch/x86/include/qemu/arch.h | 3 ++- arch/x86/include/qemu/irq.h | 3 ++- arch/x86/include/syscall.h | 3 ++- arch/z16/include/arch.h | 3 ++- arch/z16/include/irq.h | 3 ++- arch/z16/include/syscall.h | 3 ++- arch/z16/include/z16f/arch.h | 3 ++- arch/z16/include/z16f/chip.h | 3 ++- arch/z80/include/ez80/arch.h | 3 ++- arch/z80/include/z180/arch.h | 3 ++- arch/z80/include/z8/arch.h | 3 ++- arch/z80/include/z80/arch.h | 3 ++- arch/z80/include/z80/chip.h | 3 ++- arch/z80/src/ez80/chip.h | 3 ++- arch/z80/src/ez80/ez80f91.h | 3 ++- arch/z80/src/ez80/ez80f91_emac.h | 3 ++- arch/z80/src/ez80/ez80f91_i2c.h | 3 ++- arch/z80/src/ez80/up_mem.h | 3 ++- arch/z80/src/z8/chip.h | 3 ++- arch/z80/src/z8/up_mem.h | 3 ++- 152 files changed, 304 insertions(+), 152 deletions(-) diff --git a/arch/arm/include/a1x/a10_irq.h b/arch/arm/include/a1x/a10_irq.h index bb42692988..a5777d2faf 100644 --- a/arch/arm/include/a1x/a10_irq.h +++ b/arch/arm/include/a1x/a10_irq.h @@ -207,7 +207,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/a1x/irq.h b/arch/arm/include/a1x/irq.h index b799d7b409..33fed49d24 100644 --- a/arch/arm/include/a1x/irq.h +++ b/arch/arm/include/a1x/irq.h @@ -71,7 +71,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/arch.h b/arch/arm/include/arch.h index fee37f167b..f4cae2e5b3 100644 --- a/arch/arm/include/arch.h +++ b/arch/arm/include/arch.h @@ -196,7 +196,8 @@ typedef struct save_addrenv_s save_addrenv_t; #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/arm/irq.h b/arch/arm/include/arm/irq.h index 9f459283dd..6edae979e7 100644 --- a/arch/arm/include/arm/irq.h +++ b/arch/arm/include/arm/irq.h @@ -216,7 +216,8 @@ static inline void irqrestore(irqstate_t flags) #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/armv6-m/irq.h b/arch/arm/include/armv6-m/irq.h index 05bff9df66..6aedf6e592 100644 --- a/arch/arm/include/armv6-m/irq.h +++ b/arch/arm/include/armv6-m/irq.h @@ -362,7 +362,8 @@ static inline void setcontrol(uint32_t control) #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/armv6-m/syscall.h b/arch/arm/include/armv6-m/syscall.h index a7ca476123..6126ee96fc 100644 --- a/arch/arm/include/armv6-m/syscall.h +++ b/arch/arm/include/armv6-m/syscall.h @@ -251,7 +251,8 @@ static inline uintptr_t sys_call6(unsigned int nbr, uintptr_t parm1, #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/armv7-a/syscall.h b/arch/arm/include/armv7-a/syscall.h index 42028bf3c8..887d271dd8 100644 --- a/arch/arm/include/armv7-a/syscall.h +++ b/arch/arm/include/armv7-a/syscall.h @@ -228,7 +228,8 @@ static inline uintptr_t sys_call6(unsigned int nbr, uintptr_t parm1, #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/armv7-m/irq.h b/arch/arm/include/armv7-m/irq.h index bd12bcf097..3c0cb14175 100644 --- a/arch/arm/include/armv7-m/irq.h +++ b/arch/arm/include/armv7-m/irq.h @@ -378,7 +378,8 @@ static inline void setcontrol(uint32_t control) #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/armv7-m/syscall.h b/arch/arm/include/armv7-m/syscall.h index bb2fb6fd35..4babf663a3 100644 --- a/arch/arm/include/armv7-m/syscall.h +++ b/arch/arm/include/armv7-m/syscall.h @@ -251,7 +251,8 @@ static inline uintptr_t sys_call6(unsigned int nbr, uintptr_t parm1, #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/c5471/irq.h b/arch/arm/include/c5471/irq.h index 51892009b8..e147422ad9 100644 --- a/arch/arm/include/c5471/irq.h +++ b/arch/arm/include/c5471/irq.h @@ -90,7 +90,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/dm320/irq.h b/arch/arm/include/dm320/irq.h index 12586f1b53..e2c7510754 100644 --- a/arch/arm/include/dm320/irq.h +++ b/arch/arm/include/dm320/irq.h @@ -119,7 +119,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/imx/irq.h b/arch/arm/include/imx/irq.h index b90e0d5010..05f4b2443c 100644 --- a/arch/arm/include/imx/irq.h +++ b/arch/arm/include/imx/irq.h @@ -149,7 +149,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/irq.h b/arch/arm/include/irq.h index d4d1ac389e..137327f2cd 100644 --- a/arch/arm/include/irq.h +++ b/arch/arm/include/irq.h @@ -90,7 +90,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/kl/irq.h b/arch/arm/include/kl/irq.h index 73eed1dcbe..27ba8575f5 100644 --- a/arch/arm/include/kl/irq.h +++ b/arch/arm/include/kl/irq.h @@ -192,7 +192,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/lpc31xx/irq.h b/arch/arm/include/lpc31xx/irq.h index 71c438d201..20a1c0aad8 100644 --- a/arch/arm/include/lpc31xx/irq.h +++ b/arch/arm/include/lpc31xx/irq.h @@ -103,7 +103,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/lpc43xx/irq.h b/arch/arm/include/lpc43xx/irq.h index 88b83390f5..b544bb6952 100644 --- a/arch/arm/include/lpc43xx/irq.h +++ b/arch/arm/include/lpc43xx/irq.h @@ -211,7 +211,8 @@ typedef void (*vic_vector_t)(uint32_t *regs); #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/nuc1xx/chip.h b/arch/arm/include/nuc1xx/chip.h index 6a7e6e0879..51f184f248 100644 --- a/arch/arm/include/nuc1xx/chip.h +++ b/arch/arm/include/nuc1xx/chip.h @@ -657,7 +657,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/nuc1xx/irq.h b/arch/arm/include/nuc1xx/irq.h index 4c2eea2676..0db0379d1b 100644 --- a/arch/arm/include/nuc1xx/irq.h +++ b/arch/arm/include/nuc1xx/irq.h @@ -90,7 +90,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/nuc1xx/nuc120_irq.h b/arch/arm/include/nuc1xx/nuc120_irq.h index 61a5330944..5310b2cd8e 100644 --- a/arch/arm/include/nuc1xx/nuc120_irq.h +++ b/arch/arm/include/nuc1xx/nuc120_irq.h @@ -96,7 +96,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/sam34/irq.h b/arch/arm/include/sam34/irq.h index b6581759df..521cd5a93c 100644 --- a/arch/arm/include/sam34/irq.h +++ b/arch/arm/include/sam34/irq.h @@ -104,7 +104,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/sam34/sam3u_irq.h b/arch/arm/include/sam34/sam3u_irq.h index fcd7680b19..25993c8d2a 100644 --- a/arch/arm/include/sam34/sam3u_irq.h +++ b/arch/arm/include/sam34/sam3u_irq.h @@ -261,7 +261,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/sam34/sam3x_irq.h b/arch/arm/include/sam34/sam3x_irq.h index 22766637ef..d23830102d 100644 --- a/arch/arm/include/sam34/sam3x_irq.h +++ b/arch/arm/include/sam34/sam3x_irq.h @@ -416,7 +416,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/sam34/sam4e_irq.h b/arch/arm/include/sam34/sam4e_irq.h index b59d3ec959..2a03b2217b 100644 --- a/arch/arm/include/sam34/sam4e_irq.h +++ b/arch/arm/include/sam34/sam4e_irq.h @@ -324,7 +324,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/sam34/sam4l_irq.h b/arch/arm/include/sam34/sam4l_irq.h index af86080554..95d9777301 100644 --- a/arch/arm/include/sam34/sam4l_irq.h +++ b/arch/arm/include/sam34/sam4l_irq.h @@ -322,7 +322,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/sam34/sam4s_irq.h b/arch/arm/include/sam34/sam4s_irq.h index d643bbd1ba..79c447a925 100644 --- a/arch/arm/include/sam34/sam4s_irq.h +++ b/arch/arm/include/sam34/sam4s_irq.h @@ -272,7 +272,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/sama5/sama5d3_irq.h b/arch/arm/include/sama5/sama5d3_irq.h index 8a70bdf27b..c198b79ebd 100644 --- a/arch/arm/include/sama5/sama5d3_irq.h +++ b/arch/arm/include/sama5/sama5d3_irq.h @@ -381,7 +381,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/sama5/sama5d4_irq.h b/arch/arm/include/sama5/sama5d4_irq.h index a087570189..282fae3261 100644 --- a/arch/arm/include/sama5/sama5d4_irq.h +++ b/arch/arm/include/sama5/sama5d4_irq.h @@ -424,7 +424,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/samdl/samd20_irq.h b/arch/arm/include/samdl/samd20_irq.h index 9cf6bd7b43..5042655d26 100644 --- a/arch/arm/include/samdl/samd20_irq.h +++ b/arch/arm/include/samdl/samd20_irq.h @@ -127,7 +127,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/stm32/irq.h b/arch/arm/include/stm32/irq.h index e568d18d82..04f301c696 100644 --- a/arch/arm/include/stm32/irq.h +++ b/arch/arm/include/stm32/irq.h @@ -104,7 +104,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/stm32/stm32f10xxx_irq.h b/arch/arm/include/stm32/stm32f10xxx_irq.h index 34c038c6a0..448e68c308 100644 --- a/arch/arm/include/stm32/stm32f10xxx_irq.h +++ b/arch/arm/include/stm32/stm32f10xxx_irq.h @@ -293,7 +293,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/stm32/stm32f20xxx_irq.h b/arch/arm/include/stm32/stm32f20xxx_irq.h index 1eb7d0ded2..99de060008 100644 --- a/arch/arm/include/stm32/stm32f20xxx_irq.h +++ b/arch/arm/include/stm32/stm32f20xxx_irq.h @@ -164,7 +164,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/stm32/stm32f30xxx_irq.h b/arch/arm/include/stm32/stm32f30xxx_irq.h index b53f248462..266c4feee6 100644 --- a/arch/arm/include/stm32/stm32f30xxx_irq.h +++ b/arch/arm/include/stm32/stm32f30xxx_irq.h @@ -175,7 +175,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/stm32/stm32f37xxx_irq.h b/arch/arm/include/stm32/stm32f37xxx_irq.h index c13c598300..20ff8939cd 100644 --- a/arch/arm/include/stm32/stm32f37xxx_irq.h +++ b/arch/arm/include/stm32/stm32f37xxx_irq.h @@ -161,7 +161,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/stm32/stm32f40xxx_irq.h b/arch/arm/include/stm32/stm32f40xxx_irq.h index a7da7c9f8a..bc94c6b669 100644 --- a/arch/arm/include/stm32/stm32f40xxx_irq.h +++ b/arch/arm/include/stm32/stm32f40xxx_irq.h @@ -191,7 +191,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/stm32/stm32l15xxx_irq.h b/arch/arm/include/stm32/stm32l15xxx_irq.h index 905a33e2d2..b8d689abd7 100644 --- a/arch/arm/include/stm32/stm32l15xxx_irq.h +++ b/arch/arm/include/stm32/stm32l15xxx_irq.h @@ -254,7 +254,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/str71x/irq.h b/arch/arm/include/str71x/irq.h index 28249eb254..08f64d4706 100644 --- a/arch/arm/include/str71x/irq.h +++ b/arch/arm/include/str71x/irq.h @@ -132,7 +132,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/include/syscall.h b/arch/arm/include/syscall.h index 5152e48e8b..1f4cc21532 100644 --- a/arch/arm/include/syscall.h +++ b/arch/arm/include/syscall.h @@ -79,7 +79,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/arm/arm.h b/arch/arm/src/arm/arm.h index 68036ef2e9..4f097f0b62 100644 --- a/arch/arm/src/arm/arm.h +++ b/arch/arm/src/arm/arm.h @@ -437,7 +437,8 @@ static inline void tlb_data_invalidate_single(unsigned int mva) #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/armv7-a/arm.h b/arch/arm/src/armv7-a/arm.h index e6784f2b7c..dbdb65e0ea 100644 --- a/arch/arm/src/armv7-a/arm.h +++ b/arch/arm/src/armv7-a/arm.h @@ -106,7 +106,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/armv7-a/cp15_cacheops.h b/arch/arm/src/armv7-a/cp15_cacheops.h index 9b99e0d230..9aa1bbbc93 100644 --- a/arch/arm/src/armv7-a/cp15_cacheops.h +++ b/arch/arm/src/armv7-a/cp15_cacheops.h @@ -881,7 +881,8 @@ static inline void cp15_cleaninvalidate_dcacheline(unsigned int setway) #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/armv7-a/fpu.h b/arch/arm/src/armv7-a/fpu.h index 9ec290c2cd..354af29f10 100644 --- a/arch/arm/src/armv7-a/fpu.h +++ b/arch/arm/src/armv7-a/fpu.h @@ -62,7 +62,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/armv7-a/mmu.h b/arch/arm/src/armv7-a/mmu.h index 59bc056a21..6b7fbfb779 100644 --- a/arch/arm/src/armv7-a/mmu.h +++ b/arch/arm/src/armv7-a/mmu.h @@ -1365,7 +1365,8 @@ static inline uint32_t mmu_l2_getentry(uint32_t l2vaddr, uint32_t vaddr) #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/armv7-a/sctlr.h b/arch/arm/src/armv7-a/sctlr.h index 30b14bb315..21441ef050 100644 --- a/arch/arm/src/armv7-a/sctlr.h +++ b/arch/arm/src/armv7-a/sctlr.h @@ -354,7 +354,8 @@ static inline void cp15_wrvbar(unsigned int sctlr) #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/kl/kl_clockconfig.h b/arch/arm/src/kl/kl_clockconfig.h index 1de60d07a4..45b70c9cbd 100644 --- a/arch/arm/src/kl/kl_clockconfig.h +++ b/arch/arm/src/kl/kl_clockconfig.h @@ -57,7 +57,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/kl/kl_dma.h b/arch/arm/src/kl/kl_dma.h index 1e4860bd39..3288ff7fea 100644 --- a/arch/arm/src/kl/kl_dma.h +++ b/arch/arm/src/kl/kl_dma.h @@ -57,7 +57,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/kl/kl_irq.h b/arch/arm/src/kl/kl_irq.h index ee5de9309d..150e032c72 100644 --- a/arch/arm/src/kl/kl_irq.h +++ b/arch/arm/src/kl/kl_irq.h @@ -59,7 +59,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/kl/kl_pwm.h b/arch/arm/src/kl/kl_pwm.h index f154415768..f9afbcd780 100644 --- a/arch/arm/src/kl/kl_pwm.h +++ b/arch/arm/src/kl/kl_pwm.h @@ -155,7 +155,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/kl/kl_spi.h b/arch/arm/src/kl/kl_spi.h index acc32083da..223b6d6e52 100644 --- a/arch/arm/src/kl/kl_spi.h +++ b/arch/arm/src/kl/kl_spi.h @@ -57,7 +57,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/lpc17xx/lpc17_sdcard.h b/arch/arm/src/lpc17xx/lpc17_sdcard.h index 12c2fba9dc..520175ec25 100644 --- a/arch/arm/src/lpc17xx/lpc17_sdcard.h +++ b/arch/arm/src/lpc17xx/lpc17_sdcard.h @@ -56,7 +56,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/lpc43xx/chip/lpc43_ethernet.h b/arch/arm/src/lpc43xx/chip/lpc43_ethernet.h index 275f896ad0..5be34dc3ea 100644 --- a/arch/arm/src/lpc43xx/chip/lpc43_ethernet.h +++ b/arch/arm/src/lpc43xx/chip/lpc43_ethernet.h @@ -655,7 +655,8 @@ struct eth_rxdesc_s #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/lpc43xx/lpc43_adc.h b/arch/arm/src/lpc43xx/lpc43_adc.h index ae8cef6c18..ebb9443e4d 100644 --- a/arch/arm/src/lpc43xx/lpc43_adc.h +++ b/arch/arm/src/lpc43xx/lpc43_adc.h @@ -63,7 +63,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/lpc43xx/lpc43_spifi.h b/arch/arm/src/lpc43xx/lpc43_spifi.h index 2193a3b2f8..4445919259 100644 --- a/arch/arm/src/lpc43xx/lpc43_spifi.h +++ b/arch/arm/src/lpc43xx/lpc43_spifi.h @@ -98,7 +98,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/nuc1xx/nuc_gpio.h b/arch/arm/src/nuc1xx/nuc_gpio.h index 58eaea5709..52e9dd2095 100644 --- a/arch/arm/src/nuc1xx/nuc_gpio.h +++ b/arch/arm/src/nuc1xx/nuc_gpio.h @@ -189,7 +189,8 @@ typedef uint16_t gpio_cfgset_t; #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/sam34/sam_udp.h b/arch/arm/src/sam34/sam_udp.h index 497cf2992f..38b665f865 100644 --- a/arch/arm/src/sam34/sam_udp.h +++ b/arch/arm/src/sam34/sam_udp.h @@ -56,7 +56,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/sama5/sam_can.h b/arch/arm/src/sama5/sam_can.h index 6cf0ae4bcd..c18361533f 100644 --- a/arch/arm/src/sama5/sam_can.h +++ b/arch/arm/src/sama5/sam_can.h @@ -109,7 +109,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/sama5/sam_isi.h b/arch/arm/src/sama5/sam_isi.h index 24bbb01b9d..5b3bc7482f 100644 --- a/arch/arm/src/sama5/sam_isi.h +++ b/arch/arm/src/sama5/sam_isi.h @@ -57,7 +57,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/sama5/sam_nand.h b/arch/arm/src/sama5/sam_nand.h index ca1d8fd818..f4229b8d6c 100644 --- a/arch/arm/src/sama5/sam_nand.h +++ b/arch/arm/src/sama5/sam_nand.h @@ -375,7 +375,8 @@ struct sam_nand_s #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/sama5/sam_pck.h b/arch/arm/src/sama5/sam_pck.h index 4e3f2ad864..0d8199e8ea 100644 --- a/arch/arm/src/sama5/sam_pck.h +++ b/arch/arm/src/sama5/sam_pck.h @@ -77,7 +77,8 @@ enum pckid_clksrc_e #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/sama5/sam_sckc.h b/arch/arm/src/sama5/sam_sckc.h index c4296c167c..0dc2a2ed4c 100644 --- a/arch/arm/src/sama5/sam_sckc.h +++ b/arch/arm/src/sama5/sam_sckc.h @@ -56,7 +56,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/sama5/sam_trng.h b/arch/arm/src/sama5/sam_trng.h index dd379edc39..d27186ac3c 100644 --- a/arch/arm/src/sama5/sam_trng.h +++ b/arch/arm/src/sama5/sam_trng.h @@ -56,7 +56,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/sama5/sam_udphs.h b/arch/arm/src/sama5/sam_udphs.h index 72592f8603..1f8ec79dec 100644 --- a/arch/arm/src/sama5/sam_udphs.h +++ b/arch/arm/src/sama5/sam_udphs.h @@ -56,7 +56,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/sama5/sam_wdt.h b/arch/arm/src/sama5/sam_wdt.h index 41f139ee7c..6f99082e16 100644 --- a/arch/arm/src/sama5/sam_wdt.h +++ b/arch/arm/src/sama5/sam_wdt.h @@ -56,7 +56,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/stm32/stm32_tim.h b/arch/arm/src/stm32/stm32_tim.h index b9b1b128d0..fadf58e6b7 100644 --- a/arch/arm/src/stm32/stm32_tim.h +++ b/arch/arm/src/stm32/stm32_tim.h @@ -75,7 +75,8 @@ #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/arm/src/stm32/stm32_usbhost.h b/arch/arm/src/stm32/stm32_usbhost.h index 362944c67d..2a6a733544 100644 --- a/arch/arm/src/stm32/stm32_usbhost.h +++ b/arch/arm/src/stm32/stm32_usbhost.h @@ -248,7 +248,8 @@ enum usbhost_trace1codes_e #undef EXTERN #if defined(__cplusplus) #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/avr/include/arch.h b/arch/avr/include/arch.h index 662d9a9846..4e753a0f11 100644 --- a/arch/avr/include/arch.h +++ b/arch/avr/include/arch.h @@ -68,7 +68,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/avr/include/at32uc3/irq.h b/arch/avr/include/at32uc3/irq.h index 64861001ef..5873579f25 100644 --- a/arch/avr/include/at32uc3/irq.h +++ b/arch/avr/include/at32uc3/irq.h @@ -620,7 +620,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/avr/include/at90usb/irq.h b/arch/avr/include/at90usb/irq.h index be15e51454..7980526d7b 100644 --- a/arch/avr/include/at90usb/irq.h +++ b/arch/avr/include/at90usb/irq.h @@ -117,7 +117,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/avr/include/avr/irq.h b/arch/avr/include/avr/irq.h index 1a36695259..afca2e588d 100644 --- a/arch/avr/include/avr/irq.h +++ b/arch/avr/include/avr/irq.h @@ -192,7 +192,8 @@ static inline void irqrestore(irqstate_t flags) #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/avr/include/avr32/irq.h b/arch/avr/include/avr32/irq.h index 28b2e9c163..2ef80d2652 100644 --- a/arch/avr/include/avr32/irq.h +++ b/arch/avr/include/avr32/irq.h @@ -202,7 +202,8 @@ static inline void irqrestore(irqstate_t flags) #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/avr/include/irq.h b/arch/avr/include/irq.h index 55b021c675..1d90e5637e 100644 --- a/arch/avr/include/irq.h +++ b/arch/avr/include/irq.h @@ -85,7 +85,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/avr/include/syscall.h b/arch/avr/include/syscall.h index 69390098de..2f5db66a6c 100644 --- a/arch/avr/include/syscall.h +++ b/arch/avr/include/syscall.h @@ -75,7 +75,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/avr/include/xmega/xmegac_irq.h b/arch/avr/include/xmega/xmegac_irq.h index 048c626751..acc5bd86e8 100644 --- a/arch/avr/include/xmega/xmegac_irq.h +++ b/arch/avr/include/xmega/xmegac_irq.h @@ -109,7 +109,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/hc/include/arch.h b/arch/hc/include/arch.h index 6f2c338755..d4b470fdd3 100644 --- a/arch/hc/include/arch.h +++ b/arch/hc/include/arch.h @@ -68,7 +68,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/hc/include/hc12/irq.h b/arch/hc/include/hc12/irq.h index ffb933b27d..82135f3d68 100644 --- a/arch/hc/include/hc12/irq.h +++ b/arch/hc/include/hc12/irq.h @@ -93,7 +93,8 @@ static inline void system_call3(unsigned int nbr, uintptr_t parm1, #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/hc/include/hcs12/irq.h b/arch/hc/include/hcs12/irq.h index 064edee08d..4b2df8acf6 100644 --- a/arch/hc/include/hcs12/irq.h +++ b/arch/hc/include/hcs12/irq.h @@ -256,7 +256,8 @@ static inline void system_call3(unsigned int nbr, uintptr_t parm1, #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/hc/include/irq.h b/arch/hc/include/irq.h index cb918c6afd..160f41a9fc 100644 --- a/arch/hc/include/irq.h +++ b/arch/hc/include/irq.h @@ -85,7 +85,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/hc/include/m9s12/irq.h b/arch/hc/include/m9s12/irq.h index 56deb2ede1..63ab556b8e 100644 --- a/arch/hc/include/m9s12/irq.h +++ b/arch/hc/include/m9s12/irq.h @@ -172,7 +172,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/hc/include/syscall.h b/arch/hc/include/syscall.h index 20e3df5851..efb94f4ef9 100644 --- a/arch/hc/include/syscall.h +++ b/arch/hc/include/syscall.h @@ -67,7 +67,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/arch.h b/arch/mips/include/arch.h index 894b4453ff..9fffb8a89e 100644 --- a/arch/mips/include/arch.h +++ b/arch/mips/include/arch.h @@ -68,7 +68,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/mips32/cp0.h b/arch/mips/include/mips32/cp0.h index d3e80dfa09..e6668fa8e3 100644 --- a/arch/mips/include/mips32/cp0.h +++ b/arch/mips/include/mips32/cp0.h @@ -561,7 +561,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/mips32/registers.h b/arch/mips/include/mips32/registers.h index 2beff5190c..00696dce44 100644 --- a/arch/mips/include/mips32/registers.h +++ b/arch/mips/include/mips32/registers.h @@ -131,7 +131,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/pic32mx/chip.h b/arch/mips/include/pic32mx/chip.h index 4ebf69ccfb..1b3266d435 100644 --- a/arch/mips/include/pic32mx/chip.h +++ b/arch/mips/include/pic32mx/chip.h @@ -2416,7 +2416,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/pic32mx/cp0.h b/arch/mips/include/pic32mx/cp0.h index 11a0404e41..81e542cd07 100644 --- a/arch/mips/include/pic32mx/cp0.h +++ b/arch/mips/include/pic32mx/cp0.h @@ -381,7 +381,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/pic32mx/irq.h b/arch/mips/include/pic32mx/irq.h index 7c9da70992..96896cf8f2 100644 --- a/arch/mips/include/pic32mx/irq.h +++ b/arch/mips/include/pic32mx/irq.h @@ -199,7 +199,8 @@ static inline void cp0_putebase(uint32_t ebase) #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/pic32mx/irq_1xx2xx.h b/arch/mips/include/pic32mx/irq_1xx2xx.h index 9ca71690bc..6fe7c25770 100644 --- a/arch/mips/include/pic32mx/irq_1xx2xx.h +++ b/arch/mips/include/pic32mx/irq_1xx2xx.h @@ -200,7 +200,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/pic32mx/irq_3xx4xx.h b/arch/mips/include/pic32mx/irq_3xx4xx.h index 36b1b24186..0d263c71ae 100644 --- a/arch/mips/include/pic32mx/irq_3xx4xx.h +++ b/arch/mips/include/pic32mx/irq_3xx4xx.h @@ -189,7 +189,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/pic32mx/irq_5xx6xx7xx.h b/arch/mips/include/pic32mx/irq_5xx6xx7xx.h index e940793143..e1f18b6d4d 100644 --- a/arch/mips/include/pic32mx/irq_5xx6xx7xx.h +++ b/arch/mips/include/pic32mx/irq_5xx6xx7xx.h @@ -258,7 +258,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/include/syscall.h b/arch/mips/include/syscall.h index 15dd5d855e..67ac42bea5 100644 --- a/arch/mips/include/syscall.h +++ b/arch/mips/include/syscall.h @@ -73,7 +73,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/mips32/mips32-memorymap.h b/arch/mips/src/mips32/mips32-memorymap.h index b6c5447a76..103ca6e2be 100644 --- a/arch/mips/src/mips32/mips32-memorymap.h +++ b/arch/mips/src/mips32/mips32-memorymap.h @@ -82,7 +82,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/chip.h b/arch/mips/src/pic32mx/chip.h index 05f22777ba..90c037c438 100644 --- a/arch/mips/src/pic32mx/chip.h +++ b/arch/mips/src/pic32mx/chip.h @@ -62,7 +62,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-adc.h b/arch/mips/src/pic32mx/pic32mx-adc.h index aec5a1215f..1a29d3af62 100644 --- a/arch/mips/src/pic32mx/pic32mx-adc.h +++ b/arch/mips/src/pic32mx/pic32mx-adc.h @@ -229,7 +229,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-bmx.h b/arch/mips/src/pic32mx/pic32mx-bmx.h index ea006b5c22..fc46cd8158 100644 --- a/arch/mips/src/pic32mx/pic32mx-bmx.h +++ b/arch/mips/src/pic32mx/pic32mx-bmx.h @@ -152,7 +152,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-can.h b/arch/mips/src/pic32mx/pic32mx-can.h index cc0c9573c0..edc8d1e6b9 100644 --- a/arch/mips/src/pic32mx/pic32mx-can.h +++ b/arch/mips/src/pic32mx/pic32mx-can.h @@ -75,7 +75,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-che.h b/arch/mips/src/pic32mx/pic32mx-che.h index 72a7d5f764..3ea57056bc 100644 --- a/arch/mips/src/pic32mx/pic32mx-che.h +++ b/arch/mips/src/pic32mx/pic32mx-che.h @@ -171,7 +171,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-cm.h b/arch/mips/src/pic32mx/pic32mx-cm.h index ed443cee6e..7346761e52 100644 --- a/arch/mips/src/pic32mx/pic32mx-cm.h +++ b/arch/mips/src/pic32mx/pic32mx-cm.h @@ -125,7 +125,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-cvr.h b/arch/mips/src/pic32mx/pic32mx-cvr.h index 3070d179a0..51ef90d49f 100644 --- a/arch/mips/src/pic32mx/pic32mx-cvr.h +++ b/arch/mips/src/pic32mx/pic32mx-cvr.h @@ -99,7 +99,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-ddp.h b/arch/mips/src/pic32mx/pic32mx-ddp.h index 41eb234dd5..d7ba7c7318 100644 --- a/arch/mips/src/pic32mx/pic32mx-ddp.h +++ b/arch/mips/src/pic32mx/pic32mx-ddp.h @@ -80,7 +80,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-devcfg.h b/arch/mips/src/pic32mx/pic32mx-devcfg.h index e70effbc00..506a77ad5e 100644 --- a/arch/mips/src/pic32mx/pic32mx-devcfg.h +++ b/arch/mips/src/pic32mx/pic32mx-devcfg.h @@ -268,7 +268,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-dma.h b/arch/mips/src/pic32mx/pic32mx-dma.h index 866f99dd83..e41c80f810 100644 --- a/arch/mips/src/pic32mx/pic32mx-dma.h +++ b/arch/mips/src/pic32mx/pic32mx-dma.h @@ -681,7 +681,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-ethernet.h b/arch/mips/src/pic32mx/pic32mx-ethernet.h index 69a83fe6a3..fa85b782ce 100644 --- a/arch/mips/src/pic32mx/pic32mx-ethernet.h +++ b/arch/mips/src/pic32mx/pic32mx-ethernet.h @@ -916,7 +916,8 @@ struct pic32mx_rxdesc_s #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-flash.h b/arch/mips/src/pic32mx/pic32mx-flash.h index 64dfd83b6c..852ad5439d 100644 --- a/arch/mips/src/pic32mx/pic32mx-flash.h +++ b/arch/mips/src/pic32mx/pic32mx-flash.h @@ -116,7 +116,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-i2c.h b/arch/mips/src/pic32mx/pic32mx-i2c.h index 9179692ed1..6475caba49 100644 --- a/arch/mips/src/pic32mx/pic32mx-i2c.h +++ b/arch/mips/src/pic32mx/pic32mx-i2c.h @@ -291,7 +291,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-ic.h b/arch/mips/src/pic32mx/pic32mx-ic.h index 6fc67fcf8b..d1b3070f52 100644 --- a/arch/mips/src/pic32mx/pic32mx-ic.h +++ b/arch/mips/src/pic32mx/pic32mx-ic.h @@ -151,7 +151,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-int.h b/arch/mips/src/pic32mx/pic32mx-int.h index d9d594ce2e..3443640c91 100644 --- a/arch/mips/src/pic32mx/pic32mx-int.h +++ b/arch/mips/src/pic32mx/pic32mx-int.h @@ -1070,7 +1070,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-ioport.h b/arch/mips/src/pic32mx/pic32mx-ioport.h index 485a0620d0..07dc1b88c0 100644 --- a/arch/mips/src/pic32mx/pic32mx-ioport.h +++ b/arch/mips/src/pic32mx/pic32mx-ioport.h @@ -466,7 +466,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-memorymap.h b/arch/mips/src/pic32mx/pic32mx-memorymap.h index e0d6756f26..5b5ce8020b 100644 --- a/arch/mips/src/pic32mx/pic32mx-memorymap.h +++ b/arch/mips/src/pic32mx/pic32mx-memorymap.h @@ -520,7 +520,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-oc.h b/arch/mips/src/pic32mx/pic32mx-oc.h index fff8b64288..3e77f9630f 100644 --- a/arch/mips/src/pic32mx/pic32mx-oc.h +++ b/arch/mips/src/pic32mx/pic32mx-oc.h @@ -196,7 +196,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-osc.h b/arch/mips/src/pic32mx/pic32mx-osc.h index 7975d42201..b81d757442 100644 --- a/arch/mips/src/pic32mx/pic32mx-osc.h +++ b/arch/mips/src/pic32mx/pic32mx-osc.h @@ -151,7 +151,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-pmp.h b/arch/mips/src/pic32mx/pic32mx-pmp.h index 015e814590..637480e549 100644 --- a/arch/mips/src/pic32mx/pic32mx-pmp.h +++ b/arch/mips/src/pic32mx/pic32mx-pmp.h @@ -225,7 +225,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-pps.h b/arch/mips/src/pic32mx/pic32mx-pps.h index 7b654bd470..950792702f 100644 --- a/arch/mips/src/pic32mx/pic32mx-pps.h +++ b/arch/mips/src/pic32mx/pic32mx-pps.h @@ -260,7 +260,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-reset.h b/arch/mips/src/pic32mx/pic32mx-reset.h index eb26e50c96..5cddd8bfc3 100644 --- a/arch/mips/src/pic32mx/pic32mx-reset.h +++ b/arch/mips/src/pic32mx/pic32mx-reset.h @@ -103,7 +103,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-rtcc.h b/arch/mips/src/pic32mx/pic32mx-rtcc.h index 7f57bf6333..93618ce7d2 100644 --- a/arch/mips/src/pic32mx/pic32mx-rtcc.h +++ b/arch/mips/src/pic32mx/pic32mx-rtcc.h @@ -205,7 +205,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-spi.h b/arch/mips/src/pic32mx/pic32mx-spi.h index 9f4b83a66f..cccafd5edd 100644 --- a/arch/mips/src/pic32mx/pic32mx-spi.h +++ b/arch/mips/src/pic32mx/pic32mx-spi.h @@ -276,7 +276,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-timer.h b/arch/mips/src/pic32mx/pic32mx-timer.h index e34f701104..47c78f1138 100644 --- a/arch/mips/src/pic32mx/pic32mx-timer.h +++ b/arch/mips/src/pic32mx/pic32mx-timer.h @@ -207,7 +207,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-uart.h b/arch/mips/src/pic32mx/pic32mx-uart.h index d1b80b4a46..c348c6c10a 100644 --- a/arch/mips/src/pic32mx/pic32mx-uart.h +++ b/arch/mips/src/pic32mx/pic32mx-uart.h @@ -263,7 +263,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-usbotg.h b/arch/mips/src/pic32mx/pic32mx-usbotg.h index e27d48545c..11b3231886 100644 --- a/arch/mips/src/pic32mx/pic32mx-usbotg.h +++ b/arch/mips/src/pic32mx/pic32mx-usbotg.h @@ -347,7 +347,8 @@ struct usbotg_bdtentry_s #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mx/pic32mx-wdt.h b/arch/mips/src/pic32mx/pic32mx-wdt.h index 319ec59d5e..abbb49c981 100644 --- a/arch/mips/src/pic32mx/pic32mx-wdt.h +++ b/arch/mips/src/pic32mx/pic32mx-wdt.h @@ -103,7 +103,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/mips/src/pic32mz/chip/pic32mz-spi.h b/arch/mips/src/pic32mz/chip/pic32mz-spi.h index 0c66649393..d4f5fe42a5 100644 --- a/arch/mips/src/pic32mz/chip/pic32mz-spi.h +++ b/arch/mips/src/pic32mz/chip/pic32mz-spi.h @@ -315,7 +315,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/rgmp/include/math.h b/arch/rgmp/include/math.h index 24a68ee132..790acab628 100644 --- a/arch/rgmp/include/math.h +++ b/arch/rgmp/include/math.h @@ -50,7 +50,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/rgmp/include/x86/arch/subarch/arch.h b/arch/rgmp/include/x86/arch/subarch/arch.h index 0637dbd39f..b88cb34155 100644 --- a/arch/rgmp/include/x86/arch/subarch/arch.h +++ b/arch/rgmp/include/x86/arch/subarch/arch.h @@ -43,7 +43,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif #include diff --git a/arch/sh/include/arch.h b/arch/sh/include/arch.h index 9141b5c24f..2ee75e5939 100644 --- a/arch/sh/include/arch.h +++ b/arch/sh/include/arch.h @@ -66,7 +66,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/sh/include/irq.h b/arch/sh/include/irq.h index f05d3007e0..1f0c25d35e 100644 --- a/arch/sh/include/irq.h +++ b/arch/sh/include/irq.h @@ -70,7 +70,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/sh/include/m16c/irq.h b/arch/sh/include/m16c/irq.h index 0789f722fc..88d4d1099c 100644 --- a/arch/sh/include/m16c/irq.h +++ b/arch/sh/include/m16c/irq.h @@ -268,7 +268,8 @@ struct xcptcontext #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/sh/include/sh1/irq.h b/arch/sh/include/sh1/irq.h index 19a26dc1a7..b2d839019a 100644 --- a/arch/sh/include/sh1/irq.h +++ b/arch/sh/include/sh1/irq.h @@ -485,7 +485,8 @@ struct xcptcontext #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/sh/include/syscall.h b/arch/sh/include/syscall.h index d9fdb7ccbf..38fb6e2aa9 100644 --- a/arch/sh/include/syscall.h +++ b/arch/sh/include/syscall.h @@ -67,7 +67,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/sim/include/arch.h b/arch/sim/include/arch.h index f039d3fa3c..b2ae4b2649 100644 --- a/arch/sim/include/arch.h +++ b/arch/sim/include/arch.h @@ -66,7 +66,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/sim/include/syscall.h b/arch/sim/include/syscall.h index 0486ffe272..19c57fca2e 100644 --- a/arch/sim/include/syscall.h +++ b/arch/sim/include/syscall.h @@ -67,7 +67,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/x86/include/arch.h b/arch/x86/include/arch.h index a347c1e7ff..76f5fe979a 100644 --- a/arch/x86/include/arch.h +++ b/arch/x86/include/arch.h @@ -78,7 +78,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/x86/include/i486/io.h b/arch/x86/include/i486/io.h index 3b3a7a854b..47431b0edd 100644 --- a/arch/x86/include/i486/io.h +++ b/arch/x86/include/i486/io.h @@ -134,7 +134,8 @@ static inline uint32_t inl(uint16_t port) #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/x86/include/i486/irq.h b/arch/x86/include/i486/irq.h index 8f83d601f8..cc1a9f5eb8 100644 --- a/arch/x86/include/i486/irq.h +++ b/arch/x86/include/i486/irq.h @@ -272,7 +272,8 @@ static inline void system_call3(unsigned int nbr, uintptr_t parm1, #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/x86/include/io.h b/arch/x86/include/io.h index 8c38a5f6f4..b8cdde51f4 100644 --- a/arch/x86/include/io.h +++ b/arch/x86/include/io.h @@ -71,7 +71,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/x86/include/irq.h b/arch/x86/include/irq.h index 2bccacb2d6..12f12c156e 100644 --- a/arch/x86/include/irq.h +++ b/arch/x86/include/irq.h @@ -83,7 +83,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/x86/include/qemu/arch.h b/arch/x86/include/qemu/arch.h index 395d65fce5..5ebc6dd93d 100644 --- a/arch/x86/include/qemu/arch.h +++ b/arch/x86/include/qemu/arch.h @@ -66,7 +66,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/x86/include/qemu/irq.h b/arch/x86/include/qemu/irq.h index 8a5242a2c3..9352077123 100644 --- a/arch/x86/include/qemu/irq.h +++ b/arch/x86/include/qemu/irq.h @@ -66,7 +66,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/x86/include/syscall.h b/arch/x86/include/syscall.h index 3fc9a14a7f..2ecc22734b 100644 --- a/arch/x86/include/syscall.h +++ b/arch/x86/include/syscall.h @@ -73,7 +73,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z16/include/arch.h b/arch/z16/include/arch.h index 1d94cbfa90..048bc01142 100644 --- a/arch/z16/include/arch.h +++ b/arch/z16/include/arch.h @@ -66,7 +66,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z16/include/irq.h b/arch/z16/include/irq.h index 119613c687..ce195b1dec 100644 --- a/arch/z16/include/irq.h +++ b/arch/z16/include/irq.h @@ -66,7 +66,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z16/include/syscall.h b/arch/z16/include/syscall.h index a636a72bf2..ceb6222cf3 100644 --- a/arch/z16/include/syscall.h +++ b/arch/z16/include/syscall.h @@ -67,7 +67,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z16/include/z16f/arch.h b/arch/z16/include/z16f/arch.h index deb4b7a90c..c05cb31c1b 100644 --- a/arch/z16/include/z16f/arch.h +++ b/arch/z16/include/z16f/arch.h @@ -62,7 +62,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z16/include/z16f/chip.h b/arch/z16/include/z16f/chip.h index 2f8acfcf85..2ff4b4174b 100644 --- a/arch/z16/include/z16f/chip.h +++ b/arch/z16/include/z16f/chip.h @@ -58,7 +58,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/include/ez80/arch.h b/arch/z80/include/ez80/arch.h index a055665ed5..2914d5b30a 100644 --- a/arch/z80/include/ez80/arch.h +++ b/arch/z80/include/ez80/arch.h @@ -63,7 +63,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/include/z180/arch.h b/arch/z80/include/z180/arch.h index 64e1112f52..4fba27919b 100644 --- a/arch/z80/include/z180/arch.h +++ b/arch/z80/include/z180/arch.h @@ -85,7 +85,8 @@ typedef FAR struct z180_cbr_s *group_addrenv_t; #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/include/z8/arch.h b/arch/z80/include/z8/arch.h index 6c07a385ab..a3bab32a71 100644 --- a/arch/z80/include/z8/arch.h +++ b/arch/z80/include/z8/arch.h @@ -63,7 +63,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/include/z80/arch.h b/arch/z80/include/z80/arch.h index 077a72a7b1..23da0a8fd1 100644 --- a/arch/z80/include/z80/arch.h +++ b/arch/z80/include/z80/arch.h @@ -63,7 +63,8 @@ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/include/z80/chip.h b/arch/z80/include/z80/chip.h index c355eb7887..ae4ad2891c 100644 --- a/arch/z80/include/z80/chip.h +++ b/arch/z80/include/z80/chip.h @@ -65,7 +65,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/src/ez80/chip.h b/arch/z80/src/ez80/chip.h index 92eac7d0c6..981ad769e4 100644 --- a/arch/z80/src/ez80/chip.h +++ b/arch/z80/src/ez80/chip.h @@ -77,7 +77,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/src/ez80/ez80f91.h b/arch/z80/src/ez80/ez80f91.h index a84e41439c..a1371571b7 100644 --- a/arch/z80/src/ez80/ez80f91.h +++ b/arch/z80/src/ez80/ez80f91.h @@ -487,7 +487,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/src/ez80/ez80f91_emac.h b/arch/z80/src/ez80/ez80f91_emac.h index 8e7a8690a6..8e32e1ed83 100644 --- a/arch/z80/src/ez80/ez80f91_emac.h +++ b/arch/z80/src/ez80/ez80f91_emac.h @@ -270,7 +270,8 @@ struct ez80emac_desc_s #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif /* __cplusplus */ diff --git a/arch/z80/src/ez80/ez80f91_i2c.h b/arch/z80/src/ez80/ez80f91_i2c.h index 87eda94ce8..f41fcfab3e 100644 --- a/arch/z80/src/ez80/ez80f91_i2c.h +++ b/arch/z80/src/ez80/ez80f91_i2c.h @@ -131,7 +131,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif /* __cplusplus */ diff --git a/arch/z80/src/ez80/up_mem.h b/arch/z80/src/ez80/up_mem.h index ba13001fd0..9f65b5d084 100644 --- a/arch/z80/src/ez80/up_mem.h +++ b/arch/z80/src/ez80/up_mem.h @@ -74,7 +74,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/src/z8/chip.h b/arch/z80/src/z8/chip.h index b96d6c144e..b85b478f13 100644 --- a/arch/z80/src/z8/chip.h +++ b/arch/z80/src/z8/chip.h @@ -224,7 +224,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif diff --git a/arch/z80/src/z8/up_mem.h b/arch/z80/src/z8/up_mem.h index 681805e66b..fe6854b476 100644 --- a/arch/z80/src/z8/up_mem.h +++ b/arch/z80/src/z8/up_mem.h @@ -74,7 +74,8 @@ #ifndef __ASSEMBLY__ #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif