Merge "minadbd: update for adb_thread_create signature change."
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user