From: Richard Henderson Date: Fri, 13 Dec 2024 17:34:38 +0000 (+0000) Subject: tests/unit: Constify all Property X-Git-Tag: v10.0.0-rc0~117^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=869e7146b7250ed8a8e5e7c598a54d059319ef47;p=thirdparty%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 c8862cac5fe..1eb95d2429b 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()