]> git.proxmox.com Git - mirror_qemu.git/commit - net/slirp.c
qapi: avoid reserved keywords
authorBlue Swirl <blauwirbel@gmail.com>
Mon, 30 Jul 2012 15:46:55 +0000 (15:46 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 9 Aug 2012 18:34:57 +0000 (18:34 +0000)
commit427a1a2cb1d35b83b6302886f46289f6d617134d
treeab8840c649141407cdd7fa2ee05041581dbc2bd8
parent8954bae3ce1ae5b64218b8731da9a8d7f46db9a7
qapi: avoid reserved keywords

Clang compiler complained about use of reserved word 'restrict' in SLIRP
and QAPI.

Prefix C keywords with "q_", adjust SLIRP accordingly.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
net/slirp.c
scripts/qapi.py