diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-10-30 14:15:29 +0400 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-07 12:13:27 +0100 |
commit | 1494a6528044dedc067ab772ec53e51b10b8b00a (patch) | |
tree | c0aac89bac75cc92b15441da37c7a2afa698c161 /system/vl.c | |
parent | e93d1e99830481e9a5c758672d2b8ea318f07080 (diff) |
vl: constify default_list
It's not modified, let's make it const.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231030101529.105266-1-marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'system/vl.c')
-rw-r--r-- | system/vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/vl.c b/system/vl.c index ff76eb0d07..8c803228f4 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[] = { |