diff options
author | Elliott Hughes <enh@google.com> | 2018-01-12 20:15:37 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-01-12 20:15:37 +0000 |
commit | 566b0fc4c8fb135eb3148e3e4631184acfb7d0b0 (patch) | |
tree | 7da73b6e27a037b27a3db90c3c9029a013bd7b44 /tests | |
parent | 2ff6e3b3417b20b69403956bd9b8f9d7af220cf8 (diff) | |
parent | 1252bda01a57bcc3e1dff8e5c8c5a13611bc393a (diff) | |
download | extras-566b0fc4c8fb135eb3148e3e4631184acfb7d0b0.tar.gz |
Merge "Don't invent your own boolean type (and then not use it)." am: 359559dbc7 am: ef0302e644
am: 1252bda01a
Change-Id: I3d5278121d033e5d3268584ebcb4ec272f56f1fb
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 |