[rtems commit] Add c++ guard to header.

Sebastian Huber sebh at rtems.org
Thu May 16 09:35:25 UTC 2013


Module:    rtems
Branch:    master
Commit:    5e45d363f25c10f7fde1cbc7fa0951e9c12884cb
Changeset: http://git.rtems.org/rtems/commit/?id=5e45d363f25c10f7fde1cbc7fa0951e9c12884cb

Author:    Daron Chabot <dchabot at bnl.gov>
Date:      Wed May 15 11:46:37 2013 -0400

Add c++ guard to header.

---

 c/src/lib/libbsp/shared/vmeUniverse/VME.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/c/src/lib/libbsp/shared/vmeUniverse/VME.h b/c/src/lib/libbsp/shared/vmeUniverse/VME.h
index 775fd36..6135ae7 100644
--- a/c/src/lib/libbsp/shared/vmeUniverse/VME.h
+++ b/c/src/lib/libbsp/shared/vmeUniverse/VME.h
@@ -53,6 +53,10 @@
 /* address modifiers & friends */
 #include <bsp/vme_am_defs.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* VME related declarations */
 
 /*
@@ -113,4 +117,8 @@ BSP_VMEInboundPortsShow(FILE *f);
 void
 BSP_VMEResetBus(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif




More information about the vc mailing list