diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2016-08-31 20:42:11 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2016-08-31 20:42:13 +0200 |
commit | b8e985c6a29dff748a44ffc9a142c8244ae18099 (patch) | |
tree | 65d8042da094e840dd8f44b6959c3b0fc7b1b934 /mtdutils/mtdutils.h | |
parent | twrp: Use the correct lib name (diff) | |
download | android_bootable_recovery-b8e985c6a29dff748a44ffc9a142c8244ae18099.tar android_bootable_recovery-b8e985c6a29dff748a44ffc9a142c8244ae18099.tar.gz android_bootable_recovery-b8e985c6a29dff748a44ffc9a142c8244ae18099.tar.bz2 android_bootable_recovery-b8e985c6a29dff748a44ffc9a142c8244ae18099.tar.lz android_bootable_recovery-b8e985c6a29dff748a44ffc9a142c8244ae18099.tar.xz android_bootable_recovery-b8e985c6a29dff748a44ffc9a142c8244ae18099.tar.zst android_bootable_recovery-b8e985c6a29dff748a44ffc9a142c8244ae18099.zip |
Diffstat (limited to 'mtdutils/mtdutils.h')
-rw-r--r-- | mtdutils/mtdutils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mtdutils/mtdutils.h b/mtdutils/mtdutils.h index 6cbf37eec..235cbe7ce 100644 --- a/mtdutils/mtdutils.h +++ b/mtdutils/mtdutils.h @@ -19,6 +19,10 @@ #include <sys/types.h> // for size_t, etc. +#ifdef __cplusplus +extern "C" { +#endif + typedef struct MtdPartition MtdPartition; int mtd_scan_partitions(void); @@ -58,4 +62,8 @@ struct MtdPartition { char *name; }; +#ifdef __cplusplus +} +#endif + #endif // MTDUTILS_H_ |