summaryrefslogtreecommitdiffstats
path: root/adb/commandline.c
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-08-05 22:51:18 -0700
committerBrian Carlstrom <bdc@google.com>2014-08-05 22:51:18 -0700
commit46a8ffe87f3cba070fb18a90e3c5c1f73468f99c (patch)
tree1af42a3701c5fbd336b583dc8577738a8be7dcd7 /adb/commandline.c
parent43d65b6903249a409031b081bb6175b9ad3e5c2a (diff)
downloadsystem_core-46a8ffe87f3cba070fb18a90e3c5c1f73468f99c.zip
system_core-46a8ffe87f3cba070fb18a90e3c5c1f73468f99c.tar.gz
system_core-46a8ffe87f3cba070fb18a90e3c5c1f73468f99c.tar.bz2
Fix Windows adb build by avoiding "bool"
Change-Id: I9ca59e400c199d497a1a18d5e64c2cafe628097b
Diffstat (limited to 'adb/commandline.c')
-rw-r--r--adb/commandline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/commandline.c b/adb/commandline.c
index af21e38..2df3f09 100644
--- a/adb/commandline.c
+++ b/adb/commandline.c
@@ -675,7 +675,7 @@ static void status_window(transport_type ttype, const char* serial)
}
}
-static bool should_escape(const char c)
+static int should_escape(const char c)
{
return (c == ' ' || c == '\'' || c == '"' || c == '\\' || c == '(' || c == ')');
}