OSDN Git Service

<stdbool.h> not necessary in C++.
authorElliott Hughes <enh@google.com>
Thu, 7 Sep 2017 20:34:03 +0000 (13:34 -0700)
committerElliott Hughes <enh@google.com>
Thu, 7 Sep 2017 20:34:03 +0000 (13:34 -0700)
Bug: N/A
Test: builds
Change-Id: I02c2619bd5ddcabf19b0fea6845e2ffbe9c9edf6

ANRdaemon/ANRdaemon.cpp
procrank/procrank.cpp
su/su.cpp
verity/build_verity_tree.cpp
verity/fec/image.cpp
verity/fec/main.cpp

index c33414c..bd433b3 100644 (file)
@@ -36,7 +36,6 @@
 #include <ctime>
 #include <cutils/properties.h>
 #include <signal.h>
-#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 36a2043..b8ebd31 100644 (file)
@@ -18,7 +18,6 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <inttypes.h>
-#include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
index ee1526e..f3e4ff0 100644 (file)
--- a/su/su.cpp
+++ b/su/su.cpp
@@ -19,7 +19,6 @@
 #include <getopt.h>
 #include <paths.h>
 #include <pwd.h>
-#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index c50e449..7ed51f4 100644 (file)
@@ -10,7 +10,6 @@
 #include <fcntl.h>
 #include <inttypes.h>
 #include <limits.h>
-#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 509b102..861ca60 100644 (file)
@@ -28,7 +28,6 @@ extern "C" {
 #include <getopt.h>
 #include <openssl/sha.h>
 #include <pthread.h>
-#include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/ioctl.h>
index 93f1ec2..6063a66 100644 (file)
@@ -25,7 +25,6 @@ extern "C" {
 #include <getopt.h>
 #include <fcntl.h>
 #include <pthread.h>
-#include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>