diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/virtex')
-rw-r--r-- | c/src/lib/libbsp/powerpc/virtex/include/bsp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h index a1fbdd3bd8..b4a47dc4b7 100644 --- a/c/src/lib/libbsp/powerpc/virtex/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/virtex/include/bsp.h @@ -41,10 +41,6 @@ #ifndef _BSP_H #define _BSP_H -#ifdef __cplusplus -extern "C" { -#endif - #include <bspopts.h> #ifdef ASM @@ -61,6 +57,10 @@ extern "C" { #include <bsp/vectors.h> #include <bsp/default-initial-extension.h> +#ifdef __cplusplus +extern "C" { +#endif + #define BSP_FEATURE_IRQ_EXTENSION #define BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN @@ -78,10 +78,10 @@ extern bool bsp_timer_internal_clock; /* TRUE, when timer runs with CPU clk */ extern xilTemac_driver_attach(struct rtems_bsdnet_ifconfig*, int ); #define RTEMS_BSP_NETWORK_DRIVER_ATTACH xilTemac_driver_attach -#endif /* ASM */ - #ifdef __cplusplus } #endif +#endif /* ASM */ + #endif |