summaryrefslogtreecommitdiffstats
path: root/fastboot/fs.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-03-19 15:54:47 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-19 15:54:47 +0000
commit8e70f63aba8e14f3b40b2a0769522505c1019c33 (patch)
treedc3c14aa539ab72594750cd6119639c522816b32 /fastboot/fs.h
parent7d79c9f54dd0f0b759ca7215a92bc6a13cbd7202 (diff)
parent57bf3109db7559f36c7c182cf87fe52c14b98f0d (diff)
downloadsystem_core-8e70f63aba8e14f3b40b2a0769522505c1019c33.zip
system_core-8e70f63aba8e14f3b40b2a0769522505c1019c33.tar.gz
system_core-8e70f63aba8e14f3b40b2a0769522505c1019c33.tar.bz2
am 57bf3109: Merge "Prepare for switching to libziparchive."
* commit '57bf3109db7559f36c7c182cf87fe52c14b98f0d': Prepare for switching to libziparchive.
Diffstat (limited to 'fastboot/fs.h')
-rw-r--r--fastboot/fs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fastboot/fs.h b/fastboot/fs.h
index 8444081..307772b 100644
--- a/fastboot/fs.h
+++ b/fastboot/fs.h
@@ -3,10 +3,18 @@
#include <stdint.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
struct fs_generator;
const struct fs_generator* fs_get_generator(const char *fs_type);
int fs_generator_generate(const struct fs_generator* gen, int tmpFileNo, long long partSize);
+#if defined(__cplusplus)
+}
+#endif
+
#endif