From: Marc-André Lureau Date: Mon, 30 Oct 2023 10:15:29 +0000 (+0400) Subject: vl: constify default_list X-Git-Tag: v8.2.0-rc0~19^2~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1494a6528044dedc067ab772ec53e51b10b8b00a;p=thirdparty%2Fqemu.git vl: constify default_list It's not modified, let's make it const. Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20231030101529.105266-1-marcandre.lureau@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/system/vl.c b/system/vl.c index ff76eb0d07c..8c803228f4c 100644 --- a/system/vl.c +++ b/system/vl.c @@ -194,7 +194,7 @@ static int default_sdcard = 1; static int default_vga = 1; static int default_net = 1; -static struct { +static const struct { const char *driver; int *flag; } default_list[] = {