projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93d1e9
)
vl: constify default_list
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Mon, 30 Oct 2023 10:15:29 +0000
(14:15 +0400)
committer
Philippe Mathieu-Daudé
<philmd@linaro.org>
Tue, 7 Nov 2023 11:13:27 +0000
(12:13 +0100)
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>
system/vl.c
patch
|
blob
|
history
diff --git
a/system/vl.c
b/system/vl.c
index ff76eb0d07ce69fbc4340198aa24c8f4af6c0807..8c803228f4ca5a91f47121b9ecb09a5b96b38f43 100644
(file)
--- 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[] = {