summaryrefslogtreecommitdiffstats
path: root/minadbd/fuse_adb_provider.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-10 22:59:19 +0200
committerElliott Hughes <enh@google.com>2015-04-10 22:59:19 +0200
commit20531ef60524e6205b1d9a6c12a8335c5d97e311 (patch)
tree194576dea44fa1489e187e0c681401f96cad8a2d /minadbd/fuse_adb_provider.h
parentMerge "Switch minui over to C++." (diff)
downloadandroid_bootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.tar
android_bootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.tar.gz
android_bootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.tar.bz2
android_bootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.tar.lz
android_bootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.tar.xz
android_bootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.tar.zst
android_bootable_recovery-20531ef60524e6205b1d9a6c12a8335c5d97e311.zip
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 b88ce497b..9941709b9 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