[rtems commit] libcsupport: C++ compatibility
Sebastian Huber
sebh at rtems.org
Mon Jul 2 14:18:28 UTC 2012
Module: rtems
Branch: master
Commit: c8a86d4d6f4b7d75fcf2151a54fa390b342243f5
Changeset: http://git.rtems.org/rtems/commit/?id=c8a86d4d6f4b7d75fcf2151a54fa390b342243f5
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Jul 2 16:20:39 2012 +0200
libcsupport: C++ compatibility
---
cpukit/libcsupport/include/rtems/deviceio.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/cpukit/libcsupport/include/rtems/deviceio.h b/cpukit/libcsupport/include/rtems/deviceio.h
index 6ce5d10..d1d37fd 100644
--- a/cpukit/libcsupport/include/rtems/deviceio.h
+++ b/cpukit/libcsupport/include/rtems/deviceio.h
@@ -12,6 +12,10 @@
#include <rtems/libio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
int rtems_deviceio_errno( rtems_status_code status );
int rtems_deviceio_open(
@@ -53,4 +57,8 @@ int rtems_deviceio_control(
rtems_device_minor_number minor
);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* _RTEMS_DEVICEIO_H */
More information about the vc
mailing list