diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-07-02 16:20:39 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-07-02 16:21:46 +0200 |
commit | c8a86d4d6f4b7d75fcf2151a54fa390b342243f5 (patch) | |
tree | 2dd9a85be43ee50194d17d738bc536190eb9c1ce /cpukit/libcsupport | |
parent | libblock: Fix read-ahead trigger and next update (diff) | |
download | rtems-c8a86d4d6f4b7d75fcf2151a54fa390b342243f5.tar.bz2 |
libcsupport: C++ compatibility
Diffstat (limited to 'cpukit/libcsupport')
-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 */ |