minadbd: update for adb_thread_create signature change.
Change-Id: Ifa0b4d8c1cf0bb39abac61984ff165e82e41222c
This commit is contained in:
@@ -35,11 +35,10 @@ struct stinfo {
|
||||
void *cookie;
|
||||
};
|
||||
|
||||
void* service_bootstrap_func(void* x) {
|
||||
void service_bootstrap_func(void* x) {
|
||||
stinfo* sti = reinterpret_cast<stinfo*>(x);
|
||||
sti->func(sti->fd, sti->cookie);
|
||||
free(sti);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void sideload_host_service(int sfd, void* data) {
|
||||
|
||||
Reference in New Issue
Block a user