OSDN Git Service
(root)
/
android-x86
/
external-e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07a7be7
)
Wrap tune2fs.h to be C++ compatible.
author
Tao Bao
<tbao@google.com>
Tue, 14 Jul 2015 00:14:21 +0000
(17:14 -0700)
committer
Rom Lemarchand
<romlem@google.com>
Mon, 16 Nov 2015 22:27:56 +0000
(14:27 -0800)
Change-Id: If189342477e4d5072ca4ed067090935f9ba2971c
(cherry picked from commit
b0af72276f654c4d5f9bd0756802115a83437b82
)
misc/tune2fs.h
patch
|
blob
|
history
diff --git
a/misc/tune2fs.h
b/misc/tune2fs.h
index
897e336
..
7b7e431
100644
(file)
--- a/
misc/tune2fs.h
+++ b/
misc/tune2fs.h
@@
-7,7
+7,20
@@
* %End-Header%
*/
+#ifndef _TUNE2FS_H_
+#define _TUNE2FS_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Takes exactly the same args as the tune2fs exectuable.
* Is the entrypoint for libtune2fs.
*/
int tune2fs_main(int argc, char **argv);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif