qemu/hw/9pfs
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
..
codir.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
cofile.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
cofs.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
coxattr.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
Makefile.objs Remove libhw 2012-10-05 16:07:49 -05:00
virtio-9p-coth.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-coth.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-device.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
virtio-9p-handle.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-local.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-posix-acl.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-proxy.c virtio-9p-proxy: Fix typo causing compile failure on 32 bit hosts 2012-01-06 12:50:44 -06:00
virtio-9p-proxy.h hw/9pfs: Proxy getversion 2012-01-04 20:20:55 +05:30
virtio-9p-synth.c hw/9pfs: avoid buffer overrun 2012-10-05 07:58:37 -05:00
virtio-9p-synth.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
virtio-9p-xattr-user.c virtio-9p: avoid unwarranted uses of strncpy 2012-10-05 07:58:37 -05:00
virtio-9p-xattr.c virtio-9p: avoid unwarranted uses of strncpy 2012-10-05 07:58:37 -05:00
virtio-9p-xattr.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00