OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
577974b
)
ext4_utils: Wrap wipe.h to be C++ compatible.
author
Tao Bao
<tbao@google.com>
Mon, 13 Jul 2015 23:54:02 +0000
(16:54 -0700)
committer
Tao Bao
<tbao@google.com>
Mon, 13 Jul 2015 23:54:02 +0000
(16:54 -0700)
Change-Id: Ieae03dd1afb9ef2028e8f4adaddbf8e9e09142f8
ext4_utils/wipe.h
patch
|
blob
|
history
diff --git
a/ext4_utils/wipe.h
b/ext4_utils/wipe.h
index
bd119e3
..
c7a86fa
100644
(file)
--- 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