unicorn/qemu/include/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
..
qmp qobject: Protect against use-after-free in qobject_decref() 2018-02-17 17:28:27 -05:00
dealloc-visitor.h import 2015-08-21 15:04:50 +08:00
error.h error: Improve documentation 2018-02-17 20:52:49 -05:00
qmp-input-visitor.h import 2015-08-21 15:04:50 +08:00
qmp-output-visitor.h import 2015-08-21 15:04:50 +08:00
string-input-visitor.h import 2015-08-21 15:04:50 +08:00
visitor-impl.h qom: Make enum string tables const-correct 2018-02-19 16:02:23 -05:00
visitor.h qom: Make enum string tables const-correct 2018-02-19 16:02:23 -05:00