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 qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
error.h error: New convenience function error_report_err() 2015-02-18 10:50:43 +01:00
opts-visitor.h OptsVisitor: don't try to flatten overlong integer ranges 2013-08-20 11:52:00 -04:00
qmp-event.h qapi: add event helper functions 2014-06-23 11:01:25 -04:00
qmp-input-visitor.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
qmp-output-visitor.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
string-input-visitor.h qapi: move include files to include/qobject/ 2012-12-19 08:31:31 +01:00
string-output-visitor.h qapi: Add human mode to StringOutputVisitor 2014-02-14 21:12:03 +01:00
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