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

Sebastian Huber sebh at rtems.org
Thu May 16 09:43:05 UTC 2013


Module:    rtems
Branch:    4.9
Commit:    765ae93bdbcb3e9fd124d2344527456b1db1e215
Changeset: http://git.rtems.org/rtems/commit/?id=765ae93bdbcb3e9fd124d2344527456b1db1e215

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 0d03743..bc71251 100644
--- a/c/src/lib/libbsp/shared/vmeUniverse/VME.h
+++ b/c/src/lib/libbsp/shared/vmeUniverse/VME.h
@@ -54,6 +54,10 @@
 /* address modifiers & friends */
 #include <bsp/vme_am_defs.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* VME related declarations */
 
 /*
@@ -114,4 +118,8 @@ BSP_VMEInboundPortsShow(FILE *f);
 void
 BSP_VMEResetBus(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif




More information about the vc mailing list