]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Fix qemuBuildCommandLine prototype
authorJohn Ferlan <jferlan@redhat.com>
Thu, 14 Apr 2016 13:51:38 +0000 (09:51 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 16 Apr 2016 12:04:14 +0000 (08:04 -0400)
Commit id '0da965c5e' removed the 11th parameter, but neglected to
remove the ATTRIBUTE_NONNULL for it and adjust the 17th and 18th.

src/qemu/qemu_command.h

index ecc5b039115f1085cde67808d914169313569597..2e2f133ac34170ab47e28f1b3263f091d4a1484b 100644 (file)
@@ -63,8 +63,7 @@ virCommandPtr qemuBuildCommandLine(virConnectPtr conn,
                                    int **nicindexes,
                                    const char *domainLibDir,
                                    const char *domainChannelTargetDir)
-    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(11)
-    ATTRIBUTE_NONNULL(17) ATTRIBUTE_NONNULL(18);
+    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(16) ATTRIBUTE_NONNULL(17);
 
 /* Generate '-device' string for chardev device */
 int