unicorn/qemu/qapi
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
..
common.json import 2015-08-21 15:04:50 +08:00
Makefile.objs remove glib dependency by provide compatible replacements 2016-12-18 14:56:58 -08:00
qapi-dealloc-visitor.c qom: Make enum string tables const-correct 2018-02-19 16:02:23 -05:00
qapi-visit-core.c qom: Make enum string tables const-correct 2018-02-19 16:02:23 -05:00
qmp-input-visitor.c qapi: Drop unused error argument for list and implicit struct 2018-02-19 12:59:54 -05:00
qmp-output-visitor.c qapi: Drop unused error argument for list and implicit struct 2018-02-19 12:59:54 -05:00
string-input-visitor.c qapi: Drop unused error argument for list and implicit struct 2018-02-19 12:59:54 -05:00