]> xenbits.xensource.com Git - libvirt.git/commit
virsh: move vshWatchJob earlier
authorEric Blake <eblake@redhat.com>
Sat, 18 Aug 2012 03:23:07 +0000 (21:23 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 18 Aug 2012 03:44:14 +0000 (21:44 -0600)
commit8e8809e1312781bb2ddd76af869d853d3f275060
treee09d35be083144402580b3842adda90727f77a5d
parent1610b71a96a4d906e3d8db5140f6ca9f659f20e3
virsh: move vshWatchJob earlier

It's easier to order things in topological order than it is to
forward declare in one file for use only by one other file.

* tools/virsh.c (vshWatchJob, parseRateStr)
(vshDomainStateToString, vshDomainStateReasonToString)
(vshDomainControlStateToString, vshDomainVcpuStateToString): Drop
useless prototypes.
* tools/virsh-domain.c (vshWatchJob): Move earlier.
tools/virsh-domain.c
tools/virsh.c