mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
qom: Make InterfaceInfo[] uses const
Mechanical change using: $ sed -i -E 's/\(InterfaceInfo.?\[/\(const InterfaceInfo\[/g' \ $(git grep -lE '\(InterfaceInfo.?\[\]\)') Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20250424194905.82506-7-philmd@linaro.org>
This commit is contained in:
parent
231bf6dda1
commit
2cd09e47aa
230 changed files with 258 additions and 258 deletions
|
@ -713,7 +713,7 @@ static const TypeInfo HP_B160L_machine_init_typeinfo = {
|
|||
.name = MACHINE_TYPE_NAME("B160L"),
|
||||
.parent = TYPE_MACHINE,
|
||||
.class_init = HP_B160L_machine_init_class_init,
|
||||
.interfaces = (InterfaceInfo[]) {
|
||||
.interfaces = (const InterfaceInfo[]) {
|
||||
{ TYPE_NMI },
|
||||
{ }
|
||||
},
|
||||
|
@ -749,7 +749,7 @@ static const TypeInfo HP_C3700_machine_init_typeinfo = {
|
|||
.name = MACHINE_TYPE_NAME("C3700"),
|
||||
.parent = TYPE_MACHINE,
|
||||
.class_init = HP_C3700_machine_init_class_init,
|
||||
.interfaces = (InterfaceInfo[]) {
|
||||
.interfaces = (const InterfaceInfo[]) {
|
||||
{ TYPE_NMI },
|
||||
{ }
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue