diff options
Diffstat (limited to 'nuttx/arch/arm/src/kl/kl_irq.h')
-rw-r--r-- | nuttx/arch/arm/src/kl/kl_irq.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/kl/kl_irq.h b/nuttx/arch/arm/src/kl/kl_irq.h index 089cd60bd..ee5de9309 100644 --- a/nuttx/arch/arm/src/kl/kl_irq.h +++ b/nuttx/arch/arm/src/kl/kl_irq.h @@ -54,6 +54,16 @@ * Public Data ************************************************************************************/ +#ifndef __ASSEMBLY__ + +#undef EXTERN +#if defined(__cplusplus) +#define EXTERN extern "C" +extern "C" { +#else +#define EXTERN extern +#endif + /************************************************************************************ * Inline Functions ************************************************************************************/ @@ -62,4 +72,10 @@ * Public Functions ************************************************************************************/ +#undef EXTERN +#if defined(__cplusplus) +} +#endif + +#endif /* __ASSEMBLY__ */ #endif /* __ARCH_ARM_SRC_KL_KINETIS_IRQ_H */ |