summaryrefslogtreecommitdiffstats
path: root/adb/sockets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adb/sockets.cpp')
-rw-r--r--adb/sockets.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/adb/sockets.cpp b/adb/sockets.cpp
index e52d6b1..f468029 100644
--- a/adb/sockets.cpp
+++ b/adb/sockets.cpp
@@ -487,10 +487,10 @@ static asocket *create_host_service_socket(const char *name, const char* serial)
/* a Remote socket is used to send/receive data to/from a given transport object
** it needs to be closed when the transport is forcibly destroyed by the user
*/
-typedef struct aremotesocket {
+struct aremotesocket {
asocket socket;
adisconnect disconnect;
-} aremotesocket;
+};
static int remote_socket_enqueue(asocket *s, apacket *p)
{