summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-02-15 07:42:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-02-15 07:42:03 +0000
commitc49b7ce289417137c1fa8906b6db8a504238f2d3 (patch)
tree0689fe372b39551e99b5d60cfc345ea3ef73d4fe /cpukit
parent2008-02-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-c49b7ce289417137c1fa8906b6db8a504238f2d3.tar.bz2
Add c++ guards.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/posix/include/rtems/posix/timer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/posix/include/rtems/posix/timer.h b/cpukit/posix/include/rtems/posix/timer.h
index ba9d5368db..b140a621a6 100644
--- a/cpukit/posix/include/rtems/posix/timer.h
+++ b/cpukit/posix/include/rtems/posix/timer.h
@@ -19,6 +19,10 @@
#include <rtems/posix/config.h>
#include <rtems/score/object.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Timer is free */
#define POSIX_TIMER_STATE_FREE 0x01
@@ -94,5 +98,9 @@ POSIX_EXTERN Objects_Information _POSIX_Timer_Information;
#include <rtems/posix/timer.inl>
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif
/* end of include file */