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@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list