diff options
author | Tao Bao <tbao@google.com> | 2015-07-14 22:52:29 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-14 22:52:29 +0000 |
commit | e2d1e6331bd16d8cd867c0690da067e025c90884 (patch) | |
tree | caa9e028210b67f290ae5a5fea266f669ad47dfb /ext4_utils | |
parent | 56d72007a285fcc3ce790fe8ee4202420aaf47f8 (diff) | |
parent | dfff022dd84587666909c518123b55a7f73accca (diff) | |
download | extras-e2d1e6331bd16d8cd867c0690da067e025c90884.tar.gz |
am dfff022d: Merge "ext4_utils: Wrap wipe.h to be C++ compatible."
* commit 'dfff022dd84587666909c518123b55a7f73accca':
ext4_utils: Wrap wipe.h to be C++ compatible.
Diffstat (limited to 'ext4_utils')
-rw-r--r-- | ext4_utils/wipe.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext4_utils/wipe.h b/ext4_utils/wipe.h index bd119e35..c7a86fa0 100644 --- a/ext4_utils/wipe.h +++ b/ext4_utils/wipe.h @@ -17,6 +17,10 @@ #ifndef _WIPE_H_ #define _WIPE_H_ +#ifdef __cplusplus +extern "C" { +#endif + #include "ext4_utils.h" /* Set WIPE_IS_SUPPORTED to 1 if the current platform supports @@ -30,4 +34,8 @@ int wipe_block_device(int fd, s64 len); +#ifdef __cplusplus +} +#endif + #endif |