From: Andrew Cooper Date: Mon, 1 Aug 2016 10:34:35 +0000 (+0100) Subject: xen/types: Alter typedef for bool_t X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~653 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ac7c6ce7dcc5084ee10e9a1c2ce839c1a92a2271;p=xen.git xen/types: Alter typedef for bool_t As xen/stdbool.h is included, the typedef should use bool rather than _Bool. Suggested-by: Jan Beulich Signed-off-by: Andrew Cooper Acked-by: Jan Beulich --- diff --git a/xen/include/xen/types.h b/xen/include/xen/types.h index 78410decae..c8092d0716 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)