summaryrefslogtreecommitdiffstats
path: root/net.c
diff options
context:
space:
mode:
authorBlue Swirl <[email protected]>2010-02-21 16:01:30 +0000
committerBlue Swirl <[email protected]>2010-02-21 16:01:30 +0000
commit238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01 (patch)
tree4f42d725d2c755df7f6ed6707111e91ef006782e /net.c
parent4a0b59fe3b245f972a764d276df45ccd23e81972 (diff)
downloadqemu-kvm-238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01.tar.gz
qemu-kvm-238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01.tar.bz2
qemu-kvm-238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01.zip
Allow const QemuOptDesc
Signed-off-by: Blue Swirl <[email protected]>
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 88934dfff..a1bf49fa9 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];