summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-02-24 01:50:34 +0100
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-02-24 01:50:36 +0100
commit0757a093c187b64867a9ca7c97b80d9aa7d665cf (patch)
treef7642ffd1e4c8b68ad56942516e336cd88477a53
parentrecovery: check battery level before installing package. (diff)
parentminadbd: update for adb_thread_create signature change. (diff)
downloadandroid_bootable_recovery-0757a093c187b64867a9ca7c97b80d9aa7d665cf.tar
android_bootable_recovery-0757a093c187b64867a9ca7c97b80d9aa7d665cf.tar.gz
android_bootable_recovery-0757a093c187b64867a9ca7c97b80d9aa7d665cf.tar.bz2
android_bootable_recovery-0757a093c187b64867a9ca7c97b80d9aa7d665cf.tar.lz
android_bootable_recovery-0757a093c187b64867a9ca7c97b80d9aa7d665cf.tar.xz
android_bootable_recovery-0757a093c187b64867a9ca7c97b80d9aa7d665cf.tar.zst
android_bootable_recovery-0757a093c187b64867a9ca7c97b80d9aa7d665cf.zip
-rw-r--r--minadbd/services.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/minadbd/services.cpp b/minadbd/services.cpp
index d25648fb4..658a43f36 100644
--- a/minadbd/services.cpp
+++ b/minadbd/services.cpp
@@ -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) {