diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-07-02 16:22:23 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-07-02 16:22:23 +0200 |
commit | 75ba62ef4f197007e4f748934ebd9ca00d10fc28 (patch) | |
tree | fbfd705ac1f3aa7ed71f9ef2cb23f14a5a4ccbe5 | |
parent | Merge branch 'upstream' (diff) | |
parent | libcsupport: C++ compatibility (diff) | |
download | rtems-75ba62ef4f197007e4f748934ebd9ca00d10fc28.tar.bz2 |
Merge branch 'upstream'
-rw-r--r-- | 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 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 */ |