]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Fix qemuMonitorOpen prototype
authorJohn Ferlan <jferlan@redhat.com>
Tue, 21 Mar 2017 16:43:56 +0000 (12:43 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 21 Mar 2017 16:51:40 +0000 (12:51 -0400)
Commit id '85af0b8' added a 'timeout' as the 4th parameter to
qemuMonitorOpen, but neglected to update the ATTRIBUTE_NONNULL(4)
to be (5) for the cb parameter.

src/qemu/qemu_monitor.h

index c3d3f2fb38a478b3d06d33eb22eb9cba9ef600e0..cf79424bed233ea66b662eb79a912bc449539801 100644 (file)
@@ -249,7 +249,7 @@ qemuMonitorPtr qemuMonitorOpen(virDomainObjPtr vm,
                                unsigned long long timeout,
                                qemuMonitorCallbacksPtr cb,
                                void *opaque)
-    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(4);
+    ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(5);
 qemuMonitorPtr qemuMonitorOpenFD(virDomainObjPtr vm,
                                  int sockfd,
                                  bool json,