[Qemu-devel] Re: [PATCH] scripts: add a guard macro in generated .h files

2011-02-21 Thread Tristan Gingold
On Feb 21, 2011, at 9:14 AM, Paolo Bonzini wrote: > On 02/21/2011 07:42 AM, Tristan Gingold wrote: >> Mostly a style issue. It is common to always protect header files >> against multiple inclusion, unless the header is meant to be included >> several times (which is not the case for these confi

[Qemu-devel] Re: [PATCH] scripts: add a guard macro in generated .h files

2011-02-21 Thread Paolo Bonzini
On 02/21/2011 07:42 AM, Tristan Gingold wrote: Mostly a style issue. It is common to always protect header files against multiple inclusion, unless the header is meant to be included several times (which is not the case for these config files). I think this is a good practice. Traditionally,