xen/types: Alter typedef for bool_t
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 1 Aug 2016 10:34:35 +0000 (11:34 +0100)
committerAndrew 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

index 78410decae7ccc1718a0875e7df9609ce63b8859..c8092d0716135ee13414af4fa9e8b1b728aab076 100644 (file)
@@ -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)