]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Make detect_scsi_host_caps a function on all architectures
authorGuido Günther <agx@sigxcpu.org>
Fri, 3 May 2013 06:03:26 +0000 (08:03 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 3 May 2013 14:40:21 +0000 (16:40 +0200)
commit58662f44165ccbffee95b4911a7eec49975bde0b
tree81fced9863b48aad9eaaae7166c05a4e50ec02d7
parentb562d7b7e4a9c82900cc5e7b2a6760b27fc4096c
Make detect_scsi_host_caps a function on all architectures

In the non linux case some callers like gather_scsi_host_caps needed the
return code of -1 while others like update_caps needed an empty
statement (to avoid a "statement without effect" warning). This is much
simpler solved by using a function instead of a define.
src/node_device/node_device_driver.h
src/node_device/node_device_linux_sysfs.c