Skip to content

Commit

Permalink
vl: constify default_list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
elmarco authored and philmd committed Nov 6, 2023
1 parent d5b7376 commit 4e40abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/vl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 4e40abd

Please sign in to comment.