[libvirt] [PATCH 1/5] qemu: Adjust the prototype to match the function

John Ferlan jferlan at redhat.com
Tue Apr 14 11:54:57 UTC 2015

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.

Signed-off-by: John Ferlan <jferlan at redhat.com>
 src/qemu/qemu_conf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_conf.h b/src/qemu/qemu_conf.h
index cb01fb6..4b02d19 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)
 char *qemuGetSharedDeviceKey(const char *disk_path)

More information about the libvir-list mailing list