qemu/include
Andreas Färber 8c43a6f05d Make all static TypeInfos const
Since 39bffca203 (qdev: register all
types natively through QEMU Object Model), TypeInfo as used in
the common, non-iterative pattern is no longer amended with information
and should therefore be const.

Fix the documented QOM examples:

 sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h

Since frequently the wrong examples are being copied by contributors of
new devices, fix all types in the tree:

 sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
 sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c

This also avoids to piggy-back these changes onto real functional
changes or other refactorings.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-01-10 15:11:53 -06:00
..
block raw-posix: add raw_get_aio_fd() for virtio-blk-data-plane 2013-01-02 15:31:39 +01:00
bt softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
char softmmu: move remaining include files to include/ subdirectories 2012-12-19 08:32:46 +01:00
disas build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
exec Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu 2012-12-23 00:40:49 +01:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
migration migration: merge QEMUFileBuffered into MigrationState 2012-12-20 23:09:40 +01:00
monitor monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
net misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qapi misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qemu iov: add iov_discard_front/back() to remove data 2013-01-02 15:58:05 +01:00
qom Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
sysemu Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu 2012-12-23 00:40:49 +01:00
ui Merge remote-tracking branch 'bonzini/header-dirs' into staging 2012-12-19 17:15:39 -06:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
libfdt_env.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
qemu-common.h qemu-common.h: Make qemu_init_vcpu() stub static inline 2013-01-08 21:03:44 +01:00