summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-09-07 13:36:14 -0700
committerElliott Hughes <enh@google.com>2017-10-17 16:21:33 +0000
commita0f73f9bffc2ed6f78b9900db09741861676dd48 (patch)
treed705dacfc9cff7e1936fd6557d4113444818edc4
parent815f74a759c56f6bbd75818a6ae6d7f7d4672e3a (diff)
downloadsystem_core-a0f73f9bffc2ed6f78b9900db09741861676dd48.tar.gz
system_core-a0f73f9bffc2ed6f78b9900db09741861676dd48.tar.bz2
system_core-a0f73f9bffc2ed6f78b9900db09741861676dd48.zip
<stdbool.h> not necessary in C++.
Bug: N/A Test: builds Change-Id: I1f32b202e353414e74ace87a7d5b495b5deb5f99 Merged-In: I1f32b202e353414e74ace87a7d5b495b5deb5f99
-rw-r--r--healthd/healthd_mode_charger.cpp1
-rw-r--r--libcutils/fs_config.cpp1
-rw-r--r--libcutils/properties.cpp1
-rw-r--r--libsparse/sparse_read.cpp1
-rw-r--r--logcat/getopt_long.cpp1
-rw-r--r--trusty/storage/tests/main.cpp1
6 files changed, 0 insertions, 6 deletions
diff --git a/healthd/healthd_mode_charger.cpp b/healthd/healthd_mode_charger.cpp
index c76762d37..032b21433 100644
--- a/healthd/healthd_mode_charger.cpp
+++ b/healthd/healthd_mode_charger.cpp
@@ -19,7 +19,6 @@
#include <fcntl.h>
#include <inttypes.h>
#include <linux/input.h>
-#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp
index a1dbd7881..bbaf5f435 100644
--- a/libcutils/fs_config.cpp
+++ b/libcutils/fs_config.cpp
@@ -22,7 +22,6 @@
#include <errno.h>
#include <fcntl.h>
-#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/libcutils/properties.cpp b/libcutils/properties.cpp
index d2645e640..25ff1a3ad 100644
--- a/libcutils/properties.cpp
+++ b/libcutils/properties.cpp
@@ -21,7 +21,6 @@
#include <ctype.h>
#include <errno.h>
#include <inttypes.h>
-#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/libsparse/sparse_read.cpp b/libsparse/sparse_read.cpp
index bd668735a..bfb70c795 100644
--- a/libsparse/sparse_read.cpp
+++ b/libsparse/sparse_read.cpp
@@ -21,7 +21,6 @@
#include <inttypes.h>
#include <fcntl.h>
#include <stdarg.h>
-#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/logcat/getopt_long.cpp b/logcat/getopt_long.cpp
index 5f8dd66e3..da999069d 100644
--- a/logcat/getopt_long.cpp
+++ b/logcat/getopt_long.cpp
@@ -49,7 +49,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/trusty/storage/tests/main.cpp b/trusty/storage/tests/main.cpp
index 1fd6f8ddc..45291360d 100644
--- a/trusty/storage/tests/main.cpp
+++ b/trusty/storage/tests/main.cpp
@@ -16,7 +16,6 @@
#include <assert.h>
#include <stdint.h>
-#include <stdbool.h>
#include <gtest/gtest.h>
#include <trusty/lib/storage.h>