Re: [Qemu-devel] [PATCH RFC v2 03/47] qapi: Simplify guardname()

2015-07-20 Thread Eric Blake
On 07/01/2015 02:21 PM, Markus Armbruster wrote: > The guards around built-in declarations lose their _H. It never made > much sense anyway. Correct - the _H tail on the guard for the overall file makes sense (when the overall file ends in .h), but for an unrelated use in the middle of the file,

[Qemu-devel] [PATCH RFC v2 03/47] qapi: Simplify guardname()

2015-07-01 Thread Markus Armbruster
The guards around built-in declarations lose their _H. It never made much sense anyway. Signed-off-by: Markus Armbruster --- scripts/qapi.py | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/qapi.py b/scripts/qapi.py index 20383ef..2bbc8ff 100644 --- a/scrip