[rtems commit] or1k-utility.h: Add missing end of C++ header pattern

Joel Sherril joel at rtems.org
Fri Apr 17 15:07:48 UTC 2015


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Fri Apr 17 09:45:05 2015 -0500

or1k-utility.h: Add missing end of C++ header pattern

closes 2326.

---

 cpukit/score/cpu/or1k/rtems/score/or1k-utility.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h b/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h
index c2d1bcb..98bbe41 100644
--- a/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h
+++ b/cpukit/score/cpu/or1k/rtems/score/or1k-utility.h
@@ -385,6 +385,10 @@ static inline void _OR1K_Sync_pipeline( void )
 #define _OR1KSIM_CPU_Halt() \
 	asm volatile ("l.nop 0xc")
 
+#ifdef __cplusplus
+}
+#endif
+
 #else /* ASM */
 
 #endif /* ASM */



More information about the vc mailing list