[libvirt] [PATCH] Add missing function parameter documentation

Jiri Denemark jdenemar at redhat.com
Tue Jan 26 10:36:36 UTC 2010


> 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
>   *

Thanks, I actually prepared a patch similar to yours but haven't sent it yet.

ACK

Jirka




More information about the libvir-list mailing list