summaryrefslogtreecommitdiffstats
path: root/minadbd/minadbd_services.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-06-16 00:12:17 +0200
committerElliott Hughes <enh@google.com>2016-06-17 04:57:20 +0200
commit24eb8a0643d50b636c77ffa8f3e23c7c3a8f5bf9 (patch)
tree0e50c6b196154b16ff9772d38c4e4ed362556890 /minadbd/minadbd_services.cpp
parentMerge "Add bootloader_message_ab struct." (diff)
downloadandroid_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/minadbd_services.cpp (renamed from minadbd/services.cpp)5
1 files changed, 2 insertions, 3 deletions
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;
}