projects
/
platform
/
kernel
/
opensbi-spacemit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffdc858
)
sbi: Add definitions for true/false
author
Bin Meng
<bmeng.cn@gmail.com>
Thu, 12 Mar 2020 05:46:26 +0000
(22:46 -0700)
committer
Anup Patel
<anup@brainfault.org>
Fri, 13 Mar 2020 04:50:37 +0000
(10:20 +0530)
We currently have TRUE/FALSE, but it could be convenient to have
true/false as well.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
include/sbi/sbi_types.h
patch
|
blob
|
history
diff --git
a/include/sbi/sbi_types.h
b/include/sbi/sbi_types.h
index
b59a6ff
..
153c185
100644
(file)
--- a/
include/sbi/sbi_types.h
+++ b/
include/sbi/sbi_types.h
@@
-56,6
+56,8
@@
typedef unsigned long physical_size_t;
#define TRUE 1
#define FALSE 0
+#define true TRUE
+#define false FALSE
#define NULL ((void *)0)