summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2014-12-01 13:08:32 -0800
committerSteve Kondik <steve@cyngn.com>2015-10-17 17:47:21 -0700
commitd0161f250e88e11b7c51d2544a76ce3677741c07 (patch)
tree3b2eaf4294104d63b69fc66b51241d8786a65fb7 /adb
parent607422153bdcde6ac99ffc3458cc5148900328a8 (diff)
downloadsystem_core-d0161f250e88e11b7c51d2544a76ce3677741c07.zip
system_core-d0161f250e88e11b7c51d2544a76ce3677741c07.tar.gz
system_core-d0161f250e88e11b7c51d2544a76ce3677741c07.tar.bz2
adb: Fix compilation warning
Change-Id: Iab0cb977f81824338a37ecba233b45883c0bc13b
Diffstat (limited to 'adb')
-rw-r--r--adb/services.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/adb/services.cpp b/adb/services.cpp
index 3d76a79..7f00cbc 100644
--- a/adb/services.cpp
+++ b/adb/services.cpp
@@ -447,10 +447,12 @@ static int create_subproc_thread(const char *name, const subproc_mode mode)
}
#endif
+#if !ADB_HOST
static const char* bu_path()
{
return (recovery_mode ? "/sbin/bu" : "/system/bin/bu");
}
+#endif
int service_to_fd(const char *name)
{