]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
conf: Remove ATTRIBUTE_NONNULL(2) from virDomainCheckDeviceChanges()
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 26 Jul 2019 20:56:33 +0000 (16:56 -0400)
committerEric Blake <eblake@redhat.com>
Fri, 26 Jul 2019 21:32:29 +0000 (16:32 -0500)
Since we are checking the 2nd parameter in the function for NULL,
we need to remove ATTRIBUTE_NONNULL(2) from the prototype.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
Message-Id: <20190726205633.2041912-5-stefanb@linux.vnet.ibm.com>

src/conf/domain_conf.h

index 285fa6c4961bdb41d37c1ac7135f6fa9c331ea38..dc480bc7c5f5ac2b02eed7e0076a72ad2a31dd8a 100644 (file)
@@ -3638,5 +3638,4 @@ bool
 virDomainGraphicsNeedsAutoRenderNode(const virDomainGraphicsDef *graphics);
 
 int
-virDomainCheckDeviceChanges(virDomainDefPtr def, virDomainDefPtr newDef)
-    ATTRIBUTE_NONNULL(2);
+virDomainCheckDeviceChanges(virDomainDefPtr def, virDomainDefPtr newDef);