[libvirt PATCH 1/2] lib: Drop "type hint" comments

Andrea Bolognani abologna at redhat.com
Wed May 4 17:30:07 UTC 2022


Their presence confuses apibuild.py, which considers them to be
part of the previous comment block and so appends them verbatim
to the documentation for virNetworkUpdate().

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 src/libvirt-network.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libvirt-network.c b/src/libvirt-network.c
index 50c4108641..dc50f33eba 100644
--- a/src/libvirt-network.c
+++ b/src/libvirt-network.c
@@ -637,8 +637,8 @@ virNetworkUndefine(virNetworkPtr network)
  */
 int
 virNetworkUpdate(virNetworkPtr network,
-                 unsigned int command, /* virNetworkUpdateCommand */
-                 unsigned int section, /* virNetworkUpdateSection */
+                 unsigned int command,
+                 unsigned int section,
                  int parentIndex,
                  const char *xml,
                  unsigned int flags)
-- 
2.35.1



More information about the libvir-list mailing list