From: John Ferlan Date: Tue, 14 Apr 2015 11:28:57 +0000 (-0400) Subject: qemu: Adjust the prototype to match the function X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f44429a0bc59a09ad8f04d2567e2e3f34cd3ef41;p=libvirt.git qemu: Adjust the prototype to match the function Changing the prototype to not have "int *index" since we'll soon be disallowing index as a name. Curiously the original commit (a4504ac) for the function used 'int idx' in the function - so they didn't match. Now they do. --- diff --git a/src/qemu/qemu_conf.h b/src/qemu/qemu_conf.h index cb01fb688b..4b02d19809 100644 --- a/src/qemu/qemu_conf.h +++ b/src/qemu/qemu_conf.h @@ -288,7 +288,7 @@ typedef qemuSharedDeviceEntry *qemuSharedDeviceEntryPtr; bool qemuSharedDeviceEntryDomainExists(qemuSharedDeviceEntryPtr entry, const char *name, - int *index) + int *idx) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2); char *qemuGetSharedDeviceKey(const char *disk_path)