Merge "minadbd: update for adb_thread_create signature change." into nyc-dev

This commit is contained in:
Josh Gao
2016-02-24 00:50:34 +00:00
committed by Android (Google) Code Review
+1 -2
View File
@@ -35,11 +35,10 @@ struct stinfo {
void *cookie; void *cookie;
}; };
void* service_bootstrap_func(void* x) { void service_bootstrap_func(void* x) {
stinfo* sti = reinterpret_cast<stinfo*>(x); stinfo* sti = reinterpret_cast<stinfo*>(x);
sti->func(sti->fd, sti->cookie); sti->func(sti->fd, sti->cookie);
free(sti); free(sti);
return 0;
} }
static void sideload_host_service(int sfd, void* data) { static void sideload_host_service(int sfd, void* data) {