diff options
author | Elliott Hughes <enh@google.com> | 2018-01-12 08:32:00 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-01-12 08:32:00 -0800 |
commit | 2bed32511592db43f4f525af4769b2d8da7d68b0 (patch) | |
tree | 7084d29dd43825a15ae8cd496a58b5e8ed4ba3ed /tests | |
parent | f85302809ded808132dd57ff9a2a81f9454e7343 (diff) | |
download | extras-2bed32511592db43f4f525af4769b2d8da7d68b0.tar.gz |
Don't invent your own boolean type (and then not use it).
Bug: N/A
Test: builds
Change-Id: If1f064bce92e5c64768fd6d9042206c7e6a3aa69
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/testUtil/testUtil.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/testUtil/testUtil.c b/tests/lib/testUtil/testUtil.c index 26781ea9..6cfff9f3 100644 --- a/tests/lib/testUtil/testUtil.c +++ b/tests/lib/testUtil/testUtil.c @@ -21,6 +21,7 @@ #include <errno.h> #include <math.h> #include <stdarg.h> +#include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> @@ -32,9 +33,6 @@ #include <log/log.h> #define ALEN(a) (sizeof(a) / sizeof((a)[0])) // Array length -typedef unsigned int bool_t; -#define true (0 == 0) -#define false (!true) #define MAXSTR 200 |