]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Use new array management macros
authorOsier Yang <jyang@redhat.com>
Tue, 7 Jan 2014 14:44:27 +0000 (22:44 +0800)
committerOsier Yang <jyang@redhat.com>
Wed, 8 Jan 2014 15:00:34 +0000 (23:00 +0800)
commit6f9894856c8c880d94f8cedf761f45aaeece2a8a
tree304ee1477bcf22b3841dc5b6e7a8e0adcf172eae
parent8560093394624559368e4a0ac3b4cd1ef8378b83
util: Use new array management macros

Like commit 94a26c7e from Eric Blake, the old fuzzy code should
be replaced by the new array management macros now.

And the type of scsi->count should be changed into "size_t", and
thus virSCSIDeviceListCount should return size_t instead, similar
for vir{PCI,USB}DeviceListCount.
src/util/virpci.c
src/util/virpci.h
src/util/virscsi.c
src/util/virscsi.h
src/util/virusb.c
src/util/virusb.h