unicorn/qemu/scripts
Daniel P. Berrange 767e900547
qom: Make enum string tables const-correct
The enum string table parameters in various QOM/QAPI methods
are declared 'const char *strings[]'. This results in const
warnings if passed a variable that was declared as

   static const char * const strings[] = { .... };

Add the extra const annotation to the parameters, since
neither the string elements, nor the array itself should
ever be modified.

Backports commit 2e4450ff432daef524cb3557fca68a3b7b5c7823 from qemu
2018-02-19 16:02:23 -05:00
..
create_config more cleanup qemu/configure 2017-01-19 14:11:54 +08:00
make_device_config.sh fix file perms 2015-08-28 21:05:38 -07:00
ordereddict.py import 2015-08-21 15:04:50 +08:00
qapi-event.py qapi: Factor open_output(), close_output() out of generators 2018-02-19 15:32:28 -05:00
qapi-types.py qom: Make enum string tables const-correct 2018-02-19 16:02:23 -05:00
qapi-visit.py qapi: Factor open_output(), close_output() out of generators 2018-02-19 15:32:28 -05:00
qapi.py qapi: Catch and reject flat union branch of array type 2018-02-19 15:48:12 -05:00