Re: [Qemu-devel] [PATCH v2 3/6] qapi: avoid reserved keywords

2012-08-02 Thread Luiz Capitulino
On Thu, 02 Aug 2012 10:32:59 +0200 Markus Armbruster wrote: > Blue Swirl writes: > > > Clang compiler complained about use of reserved word 'restrict' in SLIRP > > and QAPI. > > > > Prefix C keywords with "q_", adjust SLIRP accordingly. > > > > Signed-off-by: Blue Swirl > > I like this soluti

Re: [Qemu-devel] [PATCH v2 3/6] qapi: avoid reserved keywords

2012-08-02 Thread Markus Armbruster
Blue Swirl writes: > Clang compiler complained about use of reserved word 'restrict' in SLIRP > and QAPI. > > Prefix C keywords with "q_", adjust SLIRP accordingly. > > Signed-off-by: Blue Swirl I like this solution. Reviewed-by: Markus Armbruster

[Qemu-devel] [PATCH v2 3/6] qapi: avoid reserved keywords

2012-08-01 Thread Blue Swirl
Clang compiler complained about use of reserved word 'restrict' in SLIRP and QAPI. Prefix C keywords with "q_", adjust SLIRP accordingly. Signed-off-by: Blue Swirl --- net/slirp.c |6 +++--- scripts/qapi.py | 16 2 files changed, 19 insertions(+), 3 deletions(-) diff