qemu-e2k/include/qapi
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
..
qmp qdict: Add qdict_{set,copy}_default() 2015-06-12 16:58:06 +02:00
dealloc-visitor.h
error.h error: New convenience function error_report_err() 2015-02-18 10:50:43 +01:00
opts-visitor.h
qmp-event.h qapi: add event helper functions 2014-06-23 11:01:25 -04:00
qmp-input-visitor.h
qmp-output-visitor.h
string-input-visitor.h
string-output-visitor.h
util.h qom: Make enum string tables const-correct 2015-06-19 18:42:18 +02:00
visitor-impl.h qom: Make enum string tables const-correct 2015-06-19 18:42:18 +02:00
visitor.h qom: Make enum string tables const-correct 2015-06-19 18:42:18 +02:00