projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eec5bd
)
xen/types: Alter typedef for bool_t
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Mon, 1 Aug 2016 10:34:35 +0000
(11:34 +0100)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Mon, 1 Aug 2016 16:46:43 +0000
(17:46 +0100)
As xen/stdbool.h is included, the typedef should use bool rather than _Bool.
Suggested-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/xen/types.h
patch
|
blob
|
history
diff --git
a/xen/include/xen/types.h
b/xen/include/xen/types.h
index 78410decae7ccc1718a0875e7df9609ce63b8859..c8092d0716135ee13414af4fa9e8b1b728aab076 100644
(file)
--- a/
xen/include/xen/types.h
+++ b/
xen/include/xen/types.h
@@
-61,7
+61,7
@@
typedef __u64 __be64;
typedef unsigned long uintptr_t;
-typedef
_B
ool bool_t;
+typedef
b
ool bool_t;
#define test_and_set_bool(b) xchg(&(b), true)
#define test_and_clear_bool(b) xchg(&(b), false)