xemu/include/qom
Daniel P. Berrange 2e4450ff43 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.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2015-06-19 18:42:18 +02:00
..
cpu.h exec.c: Capture the memory attributes for a watchpoint hit 2015-04-26 16:49:24 +01:00
object.h qom: Make enum string tables const-correct 2015-06-19 18:42:18 +02:00
object_interfaces.h qom: Add can_be_deleted callback to UserCreatableClass 2015-04-01 10:06:38 +02:00
qom-qobject.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00