mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Allow const QemuOptDesc
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
4a0b59fe3b
commit
238431a9d8
3 changed files with 5 additions and 5 deletions
2
net.c
2
net.c
|
@ -840,7 +840,7 @@ typedef int (*net_client_init_func)(QemuOpts *opts,
|
|||
/* magic number, but compiler will warn if too small */
|
||||
#define NET_MAX_DESC 20
|
||||
|
||||
static struct {
|
||||
static const struct {
|
||||
const char *type;
|
||||
net_client_init_func init;
|
||||
QemuOptDesc desc[NET_MAX_DESC];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue