[PATCH 3/3] xen: Drop bool_t

Andrew Cooper posted 3 patches 2 years, 2 months ago
[PATCH 3/3] xen: Drop bool_t
Posted by Andrew Cooper 2 years, 2 months ago
No more users.

This completes the work started in commit 920234259475 ("xen/build: Use C99
booleans"), July 2016.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: George Dunlap <George.Dunlap@citrix.com>
CC: Jan Beulich <JBeulich@suse.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Wei Liu <wl@xen.org>
CC: Julien Grall <julien@xen.org>
CC: Roger Pau Monné <roger.pau@citrix.com>
---
 xen/include/xen/types.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/xen/include/xen/types.h b/xen/include/xen/types.h
index 64e75674da4f..449947b353be 100644
--- a/xen/include/xen/types.h
+++ b/xen/include/xen/types.h
@@ -64,7 +64,6 @@ typedef __u64 __be64;
 
 typedef unsigned int __attribute__((__mode__(__pointer__))) uintptr_t;
 
-typedef bool bool_t;
 #define test_and_set_bool(b)   xchg(&(b), true)
 #define test_and_clear_bool(b) xchg(&(b), false)
 
-- 
2.30.2


Re: [PATCH 3/3] xen: Drop bool_t
Posted by Jan Beulich 2 years, 2 months ago
On 20.11.2023 15:56, Andrew Cooper wrote:
> No more users.
> 
> This completes the work started in commit 920234259475 ("xen/build: Use C99
> booleans"), July 2016.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Acked-by: Jan Beulich <jbeulich@suse.com>