diff options
author | Elliott Hughes <enh@google.com> | 2016-06-16 00:12:17 +0200 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-06-17 04:57:20 +0200 |
commit | 24eb8a0643d50b636c77ffa8f3e23c7c3a8f5bf9 (patch) | |
tree | 0e50c6b196154b16ff9772d38c4e4ed362556890 | |
parent | Merge "Add bootloader_message_ab struct." (diff) | |
download | android_bootable_recovery-24eb8a0643d50b636c77ffa8f3e23c7c3a8f5bf9.tar android_bootable_recovery-24eb8a0643d50b636c77ffa8f3e23c7c3a8f5bf9.tar.gz android_bootable_recovery-24eb8a0643d50b636c77ffa8f3e23c7c3a8f5bf9.tar.bz2 android_bootable_recovery-24eb8a0643d50b636c77ffa8f3e23c7c3a8f5bf9.tar.lz android_bootable_recovery-24eb8a0643d50b636c77ffa8f3e23c7c3a8f5bf9.tar.xz android_bootable_recovery-24eb8a0643d50b636c77ffa8f3e23c7c3a8f5bf9.tar.zst android_bootable_recovery-24eb8a0643d50b636c77ffa8f3e23c7c3a8f5bf9.zip |
Diffstat (limited to '')
-rw-r--r-- | minadbd/Android.mk | 2 | ||||
-rw-r--r-- | minadbd/adb_main.cpp | 2 | ||||
-rw-r--r-- | minadbd/fuse_adb_provider.cpp | 2 | ||||
-rw-r--r-- | minadbd/minadbd_services.cpp (renamed from minadbd/services.cpp) | 5 |
4 files changed, 3 insertions, 8 deletions
diff --git a/minadbd/Android.mk b/minadbd/Android.mk index 3db3b4114..b3bbb428c 100644 --- a/minadbd/Android.mk +++ b/minadbd/Android.mk @@ -13,7 +13,7 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := \ adb_main.cpp \ fuse_adb_provider.cpp \ - services.cpp \ + minadbd_services.cpp \ LOCAL_CLANG := true LOCAL_MODULE := libminadbd diff --git a/minadbd/adb_main.cpp b/minadbd/adb_main.cpp index 0694280cb..8e581c2a9 100644 --- a/minadbd/adb_main.cpp +++ b/minadbd/adb_main.cpp @@ -19,8 +19,6 @@ #include <stdio.h> #include <stdlib.h> -#include "sysdeps.h" - #include "adb.h" #include "adb_auth.h" #include "transport.h" diff --git a/minadbd/fuse_adb_provider.cpp b/minadbd/fuse_adb_provider.cpp index d71807dfb..0f4c2563d 100644 --- a/minadbd/fuse_adb_provider.cpp +++ b/minadbd/fuse_adb_provider.cpp @@ -19,8 +19,6 @@ #include <string.h> #include <errno.h> -#include "sysdeps.h" - #include "adb.h" #include "adb_io.h" #include "fuse_adb_provider.h" diff --git a/minadbd/services.cpp b/minadbd/minadbd_services.cpp index 658a43f36..003b51913 100644 --- a/minadbd/services.cpp +++ b/minadbd/minadbd_services.cpp @@ -21,11 +21,10 @@ #include <string.h> #include <unistd.h> -#include "sysdeps.h" - #include "adb.h" #include "fdevent.h" #include "fuse_adb_provider.h" +#include "sysdeps.h" typedef struct stinfo stinfo; @@ -62,7 +61,7 @@ static void sideload_host_service(int sfd, void* data) { static int create_service_thread(void (*func)(int, void *), void *cookie) { int s[2]; - if(adb_socketpair(s)) { + if (adb_socketpair(s)) { printf("cannot create service socket pair\n"); return -1; } |