[libvirt] [PATCH] Add missing function parameter documentation

Matthias Bolte matthias.bolte at googlemail.com
Tue Jan 26 02:19:12 UTC 2010


---
 src/libvirt.c        |    5 ++++-
 src/util/virterror.c |    1 +
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/libvirt.c b/src/libvirt.c
index d973907..32f9fc4 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -10939,7 +10939,10 @@ error:
 /**
  * virConnectCompareCPU:
  * @conn: virConnect connection
- * @xml: XML describing the CPU to compare with host CPU
+ * @xmlDesc: XML describing the CPU to compare with host CPU
+ * @flags: currently unused, pass 0
+ *
+ * Compares the given CPU description with the host CPU
  *
  * Returns comparison result according to enum virCPUCompareResult
  */
diff --git a/src/util/virterror.c b/src/util/virterror.c
index e2128b9..d72b307 100644
--- a/src/util/virterror.c
+++ b/src/util/virterror.c
@@ -291,6 +291,7 @@ virGetLastError(void)
 
 /**
  * virSetError:
+ * @newerr: previously saved error object
  *
  * Set the current error from a previously saved error object
  *
-- 
1.6.3.3




More information about the libvir-list mailing list