summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorMartin Galvan <martin.galvan@tallertechnologies.com>2015-09-02 16:54:21 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-09-03 11:27:42 -0500
commitd781ad5086a04088eb184eae11ce38b6f01cbcd4 (patch)
tree9809301488093842fe4d044ca1a682a65f592480 /cpukit
parentarm: Replace __sync_synchronize() implementation (diff)
downloadrtems-d781ad5086a04088eb184eae11ce38b6f01cbcd4.tar.bz2
various .h files: Add missing C++ extern wrappers
Updates #2405.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/posix/include/rtems/posix/ptimer.h5
-rw-r--r--cpukit/rtems/include/rtems/rtems/dpmemimpl.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/posix/include/rtems/posix/ptimer.h b/cpukit/posix/include/rtems/posix/ptimer.h
index 7cc0516154..16ac2b8373 100644
--- a/cpukit/posix/include/rtems/posix/ptimer.h
+++ b/cpukit/posix/include/rtems/posix/ptimer.h
@@ -87,6 +87,9 @@ int timer_getoverrun(
timer_t timerid
);
+#ifdef __cplusplus
+}
+#endif
/** @} */
-#endif
+#endif /* _RTEMS_POSIX_PTIMER_H */
diff --git a/cpukit/rtems/include/rtems/rtems/dpmemimpl.h b/cpukit/rtems/include/rtems/rtems/dpmemimpl.h
index 9fd2e6c1ed..3e0c231fad 100644
--- a/cpukit/rtems/include/rtems/rtems/dpmemimpl.h
+++ b/cpukit/rtems/include/rtems/rtems/dpmemimpl.h
@@ -20,6 +20,10 @@
#include <rtems/rtems/dpmem.h>
#include <rtems/score/objectimpl.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @defgroup ClassicDPMEMImpl Dual Ported Memory Manager Implementation
*
@@ -104,5 +108,5 @@ RTEMS_INLINE_ROUTINE Dual_ported_memory_Control *_Dual_ported_memory_Get (
}
#endif
-#endif
+#endif /* _RTEMS_RTEMS_DPMEM_INL */
/* end of include file */