[libvirt] [PATCH] Add missing function parameter documentation

Matthias Bolte matthias.bolte at googlemail.com
Tue Jan 26 20:30:01 UTC 2010


2010/1/26 Jiri Denemark <jdenemar at redhat.com>:
>> 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
>

Okay, pushed.

Matthias




More information about the libvir-list mailing list