summaryrefslogtreecommitdiffstats
path: root/minadbd/fuse_adb_provider.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-10 23:28:46 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-10 23:28:46 +0200
commit51697d2781501c30d8db6d2a8e6c2becebcffad8 (patch)
tree194576dea44fa1489e187e0c681401f96cad8a2d /minadbd/fuse_adb_provider.h
parentMerge "Switch minui over to C++." (diff)
parentSwitch minadb over to C++. (diff)
downloadandroid_bootable_recovery-51697d2781501c30d8db6d2a8e6c2becebcffad8.tar
android_bootable_recovery-51697d2781501c30d8db6d2a8e6c2becebcffad8.tar.gz
android_bootable_recovery-51697d2781501c30d8db6d2a8e6c2becebcffad8.tar.bz2
android_bootable_recovery-51697d2781501c30d8db6d2a8e6c2becebcffad8.tar.lz
android_bootable_recovery-51697d2781501c30d8db6d2a8e6c2becebcffad8.tar.xz
android_bootable_recovery-51697d2781501c30d8db6d2a8e6c2becebcffad8.tar.zst
android_bootable_recovery-51697d2781501c30d8db6d2a8e6c2becebcffad8.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