summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/no_cpu/no_bsp
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-23 10:05:17 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-23 10:21:41 +0200
commit46dde0fcefbff77eb814b3b0662cb01fb280d437 (patch)
tree2604ac7ba4f304b5aee62329f0083cbc5c8fdfab /c/src/lib/libbsp/no_cpu/no_bsp
parent3e739ae95f4407f20a5429caf6875633531bdfd8 (diff)
downloadrtems-46dde0fcefbff77eb814b3b0662cb01fb280d437.tar.bz2
bsps: Move extern "C" to not cover includes
Some includes may use C++ and this conflicts if surrounded extern "C".
Diffstat (limited to 'c/src/lib/libbsp/no_cpu/no_bsp')
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h b/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
index c50700a3af..33620f8469 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h
@@ -17,10 +17,6 @@
#ifndef _BSP_H
#define _BSP_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <bspopts.h>
#include <bsp/default-initial-extension.h>
@@ -28,6 +24,10 @@ extern "C" {
#include <rtems/console.h>
#include <rtems/clockdrv.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* functions */
rtems_isr_entry set_vector( /* returns old vector */