Re: [Qemu-devel] [PATCH V2 0/4] fix usage of bool

2019-09-06 Thread Daniel P . Berrangé
On Tue, Mar 26, 2019 at 08:18:14AM +, Stefan Hajnoczi wrote: > On Sat, Mar 23, 2019 at 05:26:33PM +0300, Jafar Abdi wrote: > > Clean up wrong usage of FALSE and TRUE in places that use "bool" from > > stdbool.h. > > > > FALSE and TRUE (with capital letters) are the constants defined by glib f

Re: [Qemu-devel] [PATCH V2 0/4] fix usage of bool

2019-03-26 Thread Stefan Hajnoczi
On Sat, Mar 23, 2019 at 05:26:33PM +0300, Jafar Abdi wrote: > Clean up wrong usage of FALSE and TRUE in places that use "bool" from > stdbool.h. > > FALSE and TRUE (with capital letters) are the constants defined by glib for > being used with the "gboolean" type of glib. But some parts of the cod

Re: [Qemu-devel] [PATCH V2 0/4] fix usage of bool

2019-03-26 Thread Stefan Hajnoczi
On Sat, Mar 23, 2019 at 05:26:33PM +0300, Jafar Abdi wrote: > Clean up wrong usage of FALSE and TRUE in places that use "bool" from > stdbool.h. > > FALSE and TRUE (with capital letters) are the constants defined by glib for > being used with the "gboolean" type of glib. But some parts of the cod

[Qemu-devel] [PATCH V2 0/4] fix usage of bool

2019-03-23 Thread Jafar Abdi
Clean up wrong usage of FALSE and TRUE in places that use "bool" from stdbool.h. FALSE and TRUE (with capital letters) are the constants defined by glib for being used with the "gboolean" type of glib. But some parts of the code also use TRUE and FALSE for variables that are declared as "bool" (th