From: John Ferlan Date: Thu, 14 Apr 2016 13:51:38 +0000 (-0400) Subject: qemu: Fix qemuBuildCommandLine prototype X-Git-Tag: v1.3.4-rc1~173 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c09c17e0dafd7f2736637813c02f2fb331ba093;p=thirdparty%2Flibvirt.git qemu: Fix qemuBuildCommandLine prototype Commit id '0da965c5e' removed the 11th parameter, but neglected to remove the ATTRIBUTE_NONNULL for it and adjust the 17th and 18th. --- diff --git a/src/qemu/qemu_command.h b/src/qemu/qemu_command.h index ecc5b03911..2e2f133ac3 100644 --- a/src/qemu/qemu_command.h +++ b/src/qemu/qemu_command.h @@ -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