diff options
author | Luis Hector Chavez <lhchavez@google.com> | 2018-07-18 19:40:12 -0700 |
---|---|---|
committer | Luis Hector Chavez <lhchavez@google.com> | 2018-07-18 20:38:10 -0700 |
commit | ce7a284729ae844c77ace2a45376c1a62d09ea1d (patch) | |
tree | 9f1e65c229efba80e93657ba94d72d590e58bca8 /adb.h | |
parent | 9b4eb9b8603efddf1bab1ef0fe2d3f87692ba365 (diff) | |
download | adb-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.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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); |