summaryrefslogtreecommitdiffstats
path: root/adb/transport.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-17 09:47:42 -0700
committerElliott Hughes <enh@google.com>2015-04-17 09:47:42 -0700
commit2d4121c0dcc93382bcd7ea6476f433d8254919dd (patch)
treebdd8ab4be041d06fc50418b4a99fcb8b5a81b07a /adb/transport.cpp
parenta4802ca08bfcbf0124f5e9b959ed4e3a198d5f46 (diff)
downloadsystem_core-2d4121c0dcc93382bcd7ea6476f433d8254919dd.zip
system_core-2d4121c0dcc93382bcd7ea6476f433d8254919dd.tar.gz
system_core-2d4121c0dcc93382bcd7ea6476f433d8254919dd.tar.bz2
Remove extern "C" barriers to using C++.
Change-Id: Ic046d6aa540738cb46b54531bc59ba3b47b0136d
Diffstat (limited to 'adb/transport.cpp')
-rw-r--r--adb/transport.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/adb/transport.cpp b/adb/transport.cpp
index 4b9eeeb..1e2d844 100644
--- a/adb/transport.cpp
+++ b/adb/transport.cpp
@@ -406,7 +406,6 @@ static int list_transports_msg(char* buffer, size_t bufferlen)
* number of client connections that want it through a single
* live TCP connection
*/
-typedef struct device_tracker device_tracker;
struct device_tracker {
asocket socket;
int update_needed;
@@ -536,7 +535,6 @@ void update_transports(void)
}
#endif // ADB_HOST
-typedef struct tmsg tmsg;
struct tmsg
{
atransport *transport;