diff options
Diffstat (limited to 'emubd/lfs_emubd.h')
-rw-r--r-- | emubd/lfs_emubd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/emubd/lfs_emubd.h b/emubd/lfs_emubd.h index 85718de..0fd4387 100644 --- a/emubd/lfs_emubd.h +++ b/emubd/lfs_emubd.h @@ -10,6 +10,11 @@ #include "lfs.h" #include "lfs_util.h" +#ifdef __cplusplus +extern "C" +{ +#endif + // Config options #ifndef LFS_EMUBD_READ_SIZE @@ -75,4 +80,8 @@ int lfs_emubd_erase(const struct lfs_config *cfg, lfs_block_t block); int lfs_emubd_sync(const struct lfs_config *cfg); +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif |