mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-10-26 03:37:21 +00:00
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
|
||
|---|---|---|
| .. | ||
| common.json | ||
| Makefile.objs | ||
| qapi-dealloc-visitor.c | ||
| qapi-visit-core.c | ||
| qmp-input-visitor.c | ||
| qmp-output-visitor.c | ||
| string-input-visitor.c | ||