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

Re: [libvirt] [PATCH 3/8] Add vcpu functions to libxl driver



On 03/23/2011 10:59 AM, Jim Fehlig wrote:
>> +    unsigned int i = 0;
>>   
> 
> I thought I recalled variable declaration only at start of a block but
> don't see anything about it in HACKING.  Perhaps someone else can clarify.

We require C99 for other reasons, but where it is easy to do, yes, we
still prefer C89 declaration-before-statements.

A patch to docs/hacking.html.in (and thus HACKING) would be welcome to
repeat this point.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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