[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Fix virTypedParameter alias comments



2011/5/31 Daniel Veillard <veillard redhat com>:
> On Sun, May 29, 2011 at 05:14:25PM +0200, Matthias Bolte wrote:
>> Remove the Domain prefix from the comments.
>> ---
>>  include/libvirt/libvirt.h.in |   18 +++++++++---------
>>  1 files changed, 9 insertions(+), 9 deletions(-)
>>
>> diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
>> index cbd8dbb..8058229 100644
>> --- a/include/libvirt/libvirt.h.in
>> +++ b/include/libvirt/libvirt.h.in
>> @@ -2538,7 +2538,7 @@ int virDomainInjectNMI(virDomainPtr domain, unsigned int flags);
>>
>>
>>  /**
>> - * virDomainSchedParameterType:
>> + * virSchedParameterType:
>>   *
>>   * A scheduler parameter field type.  Provided for backwards
>>   * compatibility; virTypedParameterType is the preferred enum since
>> @@ -2563,9 +2563,9 @@ typedef enum {
>>  #define VIR_DOMAIN_SCHED_FIELD_LENGTH VIR_TYPED_PARAM_FIELD_LENGTH
>>
>>  /**
>> - * virDomainSchedParameter:
>> + * virSchedParameter:
>>   *
>> - * a virDomainSchedParameter is the set of scheduler parameters.
>> + * a virSchedParameter is the set of scheduler parameters.
>>   * Provided for backwards compatibility; virTypedParameter is the
>>   * preferred alias since 0.9.2.
>>   */
>> @@ -2582,7 +2582,7 @@ typedef struct _virTypedParameter virSchedParameter;
>>  typedef virSchedParameter *virSchedParameterPtr;
>>
>>  /**
>> - * virDomainBlkioParameterType:
>> + * virBlkioParameterType:
>>   *
>>   * A blkio parameter field type.  Provided for backwards
>>   * compatibility; virTypedParameterType is the preferred enum since
>> @@ -2607,9 +2607,9 @@ typedef enum {
>>  #define VIR_DOMAIN_BLKIO_FIELD_LENGTH VIR_TYPED_PARAM_FIELD_LENGTH
>>
>>  /**
>> - * virDomainBlkioParameter:
>> + * virBlkioParameter:
>>   *
>> - * a virDomainBlkioParameter is the set of blkio parameters.
>> + * a virBlkioParameter is the set of blkio parameters.
>>   * Provided for backwards compatibility; virTypedParameter is the
>>   * preferred alias since 0.9.2.
>>   */
>> @@ -2626,7 +2626,7 @@ typedef struct _virTypedParameter virBlkioParameter;
>>  typedef virBlkioParameter *virBlkioParameterPtr;
>>
>>  /**
>> - * virDomainMemoryParameterType:
>> + * virMemoryParameterType:
>>   *
>>   * A memory parameter field type.  Provided for backwards
>>   * compatibility; virTypedParameterType is the preferred enum since
>> @@ -2651,9 +2651,9 @@ typedef enum {
>>  #define VIR_DOMAIN_MEMORY_FIELD_LENGTH VIR_TYPED_PARAM_FIELD_LENGTH
>>
>>  /**
>> - * virDomainMemoryParameter:
>> + * virMemoryParameter:
>>   *
>> - * a virDomainMemoryParameter is the set of scheduler parameters.
>> + * a virMemoryParameter is the set of scheduler parameters.
>>   * Provided for backwards compatibility; virTypedParameter is the
>>   * preferred alias since 0.9.2.
>>   */
>
>  Right I remember seeing 3-4 comment warnng from generator.py when
>  doing "make dist" I think that's those ones,
>
>  ACK,
>
> Daniel

Thanks, pushed.

Matthias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]