summaryrefslogtreecommitdiffstats
path: root/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net.c')
-rw-r--r--net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.c b/net.c
index 88934df..a1bf49f 100644
--- a/net.c
+++ b/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];
OpenPOWER on IntegriCloud