aboutsummaryrefslogtreecommitdiff
path: root/adb.h
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2018-07-18 19:40:12 -0700
committerLuis Hector Chavez <lhchavez@google.com>2018-07-18 20:38:10 -0700
commitce7a284729ae844c77ace2a45376c1a62d09ea1d (patch)
tree9f1e65c229efba80e93657ba94d72d590e58bca8 /adb.h
parent9b4eb9b8603efddf1bab1ef0fe2d3f87692ba365 (diff)
downloadadb-ce7a284729ae844c77ace2a45376c1a62d09ea1d.tar.gz
adb: Modernize the service creation
This change removes the void* argument passing and instead uses C++11 features to avoid having to handle memory manually. Bug: None Test: python ./system/core/adb/test_device.py Change-Id: I6380245b2ca583591810e3e363c67c993a107621
Diffstat (limited to 'adb.h')
-rw-r--r--adb.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/adb.h b/adb.h
index c8841661..7e9af9e3 100644
--- a/adb.h
+++ b/adb.h
@@ -156,11 +156,6 @@ int create_jdwp_connection_fd(int jdwp_pid);
int handle_forward_request(const char* service, atransport* transport, int reply_fd);
-#if !ADB_HOST
-void framebuffer_service(int fd, void* cookie);
-void set_verity_enabled_state_service(int fd, void* cookie);
-#endif
-
/* packet allocator */
apacket* get_apacket(void);
void put_apacket(apacket* p);