tests/unit/test-smp-parse: Constify some pointer/struct
commitcf65000ae9884bc4bb36f2941568353ba405d966
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 11 Nov 2021 09:23:06 +0000 (11 10:23 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 31 Dec 2021 12:31:20 +0000 (31 13:31 +0100)
tree271ccad1b50d78c26e14eb92222c63d0c26d98e4
parent47ab8a491ac62a884a42fb50ef3c7c7e0dac59d3
tests/unit/test-smp-parse: Constify some pointer/struct

Declare structures const when we don't need to modify
them at runtime.

Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>
Tested-by: Yanan Wang <wangyanan55@huawei.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211216132015.815493-8-philmd@redhat.com>
tests/unit/test-smp-parse.c