From f44429a0bc59a09ad8f04d2567e2e3f34cd3ef41 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Tue, 14 Apr 2015 07:28:57 -0400 Subject: [PATCH] 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. --- 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 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) -- GitLab