summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-07-02 16:22:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-07-02 16:22:23 +0200
commit75ba62ef4f197007e4f748934ebd9ca00d10fc28 (patch)
treefbfd705ac1f3aa7ed71f9ef2cb23f14a5a4ccbe5
parentMerge branch 'upstream' (diff)
parentlibcsupport: C++ compatibility (diff)
downloadrtems-75ba62ef4f197007e4f748934ebd9ca00d10fc28.tar.bz2
Merge branch 'upstream'
-rw-r--r--cpukit/libcsupport/include/rtems/deviceio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/deviceio.h b/cpukit/libcsupport/include/rtems/deviceio.h
index 6ce5d105b4..d1d37fdfd1 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 */