summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/deviceio.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-07-02 16:20:39 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-07-02 16:21:46 +0200
commitc8a86d4d6f4b7d75fcf2151a54fa390b342243f5 (patch)
tree2dd9a85be43ee50194d17d738bc536190eb9c1ce /cpukit/libcsupport/include/rtems/deviceio.h
parentlibblock: Fix read-ahead trigger and next update (diff)
downloadrtems-c8a86d4d6f4b7d75fcf2151a54fa390b342243f5.tar.bz2
libcsupport: C++ compatibility
Diffstat (limited to 'cpukit/libcsupport/include/rtems/deviceio.h')
-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 */