diff options
Diffstat (limited to 'cpukit/include/dev/flash/flashdev.h')
-rw-r--r-- | cpukit/include/dev/flash/flashdev.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/include/dev/flash/flashdev.h b/cpukit/include/dev/flash/flashdev.h index d1dc08a5c4..6759357206 100644 --- a/cpukit/include/dev/flash/flashdev.h +++ b/cpukit/include/dev/flash/flashdev.h @@ -39,6 +39,11 @@ #include <rtems/thread.h> #include <sys/types.h> +#ifdef __cplusplus +extern "C" { +#endif + + typedef struct rtems_flashdev rtems_flashdev; /** @@ -454,6 +459,10 @@ void rtems_flashdev_destroy_and_free( rtems_flashdev *flash ); +#ifdef __cplusplus +} +#endif + /** @} */ #endif /* _DEV_FLASHDEV_H */ |