From: Richard Henderson Date: Fri, 13 Dec 2024 17:34:38 +0000 (+0000) Subject: tests/unit: Constify all Property X-Git-Tag: pull-vmclock-20250108~20^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=869e7146b7250ed8a8e5e7c598a54d059319ef47;p=users%2Fdwmw2%2Fqemu.git tests/unit: Constify all Property Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- diff --git a/tests/unit/test-qdev-global-props.c b/tests/unit/test-qdev-global-props.c index c8862cac5f..1eb95d2429 100644 --- a/tests/unit/test-qdev-global-props.c +++ b/tests/unit/test-qdev-global-props.c @@ -46,7 +46,7 @@ struct MyType { uint32_t prop2; }; -static Property static_props[] = { +static const Property static_props[] = { DEFINE_PROP_UINT32("prop1", MyType, prop1, PROP_DEFAULT), DEFINE_PROP_UINT32("prop2", MyType, prop2, PROP_DEFAULT), DEFINE_PROP_END_OF_LIST()