From 6c09c17e0dafd7f2736637813c02f2fb331ba093 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Thu, 14 Apr 2016 09:51:38 -0400 Subject: [PATCH] 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. --- src/qemu/qemu_command.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5