aboutsummaryrefslogtreecommitdiffstats
path: root/minadbd/fuse_adb_provider.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-10 13:59:19 -0700
committerElliott Hughes <enh@google.com>2015-04-10 13:59:19 -0700
commit20531ef60524e6205b1d9a6c12a8335c5d97e311 (patch)
tree194576dea44fa1489e187e0c681401f96cad8a2d /minadbd/fuse_adb_provider.h
parent23017c5d5c145a1040ee49466d30489d6e11bb61 (diff)
downloadbootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.zip
bootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.tar.gz
bootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.tar.bz2
Switch minadb over to C++.
Change-Id: I5afaf70caa590525627c676c88b445d3162de33e
Diffstat (limited to 'minadbd/fuse_adb_provider.h')
-rw-r--r--minadbd/fuse_adb_provider.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/minadbd/fuse_adb_provider.h b/minadbd/fuse_adb_provider.h
index b88ce49..9941709 100644
--- a/minadbd/fuse_adb_provider.h
+++ b/minadbd/fuse_adb_provider.h
@@ -19,10 +19,6 @@
#include <stdint.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
struct adb_data {
int sfd; // file descriptor for the adb channel
@@ -30,12 +26,7 @@ struct adb_data {
uint32_t block_size;
};
-int read_block_adb(void* cookie, uint32_t block, uint8_t* buffer,
- uint32_t fetch_size);
+int read_block_adb(void* cookie, uint32_t block, uint8_t* buffer, uint32_t fetch_size);
int run_adb_fuse(int sfd, uint64_t file_size, uint32_t block_size);
-#ifdef __cplusplus
-}
-#endif
-
#endif