From 46dde0fcefbff77eb814b3b0662cb01fb280d437 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 23 Oct 2014 10:05:17 +0200 Subject: bsps: Move extern "C" to not cover includes Some includes may use C++ and this conflicts if surrounded extern "C". --- c/src/lib/libbsp/m68k/sim68000/include/bsp.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'c/src/lib/libbsp/m68k/sim68000') diff --git a/c/src/lib/libbsp/m68k/sim68000/include/bsp.h b/c/src/lib/libbsp/m68k/sim68000/include/bsp.h index aeb8ded548..fbfc37ce53 100644 --- a/c/src/lib/libbsp/m68k/sim68000/include/bsp.h +++ b/c/src/lib/libbsp/m68k/sim68000/include/bsp.h @@ -14,10 +14,6 @@ #ifndef __BSVC_SIM #define __BSVC_SIM -#ifdef __cplusplus -extern "C" { -#endif - #include #include @@ -26,6 +22,10 @@ extern "C" { #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* * Define some hardware constants here */ -- cgit v1.2.3