qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Jafar Abdi
Subject: [Qemu-devel] [PATCH V2 0/4] fix usage of bool
Date: Sat, 23 Mar 2019 17:26:33 +0300

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" (the type from 
<stdbool.h>).

Jafar Abdi (4):
  authz: fix usage of bool in listfile.c
  tests/libqos: fix usage of bool in pci-pc.c
  tests/libqos: fix usage of bool in pci-spapr.c
  hw/tpm: fix usage of bool in tpm-tis.c

 authz/listfile.c         | 2 +-
 hw/tpm/tpm_tis.c         | 4 ++--
 tests/libqos/pci-pc.c    | 2 +-
 tests/libqos/pci-spapr.c | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]