xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] xen/types: Alter typedef for bool_t
@ 2016-08-01 13:14 Andrew Cooper
  2016-08-01 13:14 ` [PATCH 2/3] xen/types: Correct the definition of uintptr_t Andrew Cooper
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Andrew Cooper @ 2016-08-01 13:14 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Stefano Stabellini, Tim Deegan, Jan Beulich

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>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Tim Deegan <tim@xen.org>
CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
---
 xen/include/xen/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/xen/types.h b/xen/include/xen/types.h
index 78410de..c8092d0 100644
--- 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 _Bool bool_t;
+typedef bool bool_t;
 #define test_and_set_bool(b)   xchg(&(b), true)
 #define test_and_clear_bool(b) xchg(&(b), false)
 
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-02  7:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-01 13:14 [PATCH 1/3] xen/types: Alter typedef for bool_t Andrew Cooper
2016-08-01 13:14 ` [PATCH 2/3] xen/types: Correct the definition of uintptr_t Andrew Cooper
2016-08-01 15:51   ` Jan Beulich
2016-08-01 16:08     ` Andrew Cooper
2016-08-01 16:26       ` Jan Beulich
2016-08-01 16:34         ` [PATCH v2 " Andrew Cooper
2016-08-02  7:19           ` Jan Beulich
2016-08-01 13:14 ` [PATCH 3/3] xen/common: Sort the obj build order Andrew Cooper
2016-08-01 15:52   ` Jan Beulich
2016-08-01 15:44 ` [PATCH 1/3] xen/types: Alter typedef for bool_t Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).