]> xenbits.xensource.com Git - libvirt.git/commit
virsh: nuke use of TRUE and FALSE
authorEric Blake <eblake@redhat.com>
Mon, 18 Apr 2011 22:37:42 +0000 (16:37 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 19 Apr 2011 14:16:14 +0000 (08:16 -0600)
commitb56fa5bb3710997842a574a9dc4eb76b8f161fec
tree9056f04316577874af31a4deec5aad87de9250a7
parentd2fd997ea61ae17c241d9b19298e74244e1a1f37
virsh: nuke use of TRUE and FALSE

Gnulib already guarantees <stdbool.h>, so it is easier to just
use the standardized spellings.

* tools/virsh.c (vshCmdDef): Change callback to return real bool.
(__vshControl): Change several fields to bool.
(vshCommandOptBool): Change return type.
All callers updated.
* tools/Makefile.am (virsh-net-edit.c, virsh-pool-edit.c):
Likewise.
tools/Makefile.am
tools/virsh.c