
23 Mar
2011
23 Mar
'11
5:11 p.m.
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