diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-02-21 16:01:30 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-21 16:01:30 +0000 |
commit | 238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01 (patch) | |
tree | 4f42d725d2c755df7f6ed6707111e91ef006782e /net.c | |
parent | 4a0b59fe3b245f972a764d276df45ccd23e81972 (diff) | |
download | qemu-238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01.zip qemu-238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01.tar.gz qemu-238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01.tar.bz2 |
Allow const QemuOptDesc
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |