commit | 238431a9d8354c4dc3a7ff85e7ff31a7c8ce9b01 | [log] [tgz] |
---|---|---|
author | Blue Swirl <blauwirbel@gmail.com> | Sun Feb 21 16:01:30 2010 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sun Feb 21 16:01:30 2010 +0000 |
tree | 4f42d725d2c755df7f6ed6707111e91ef006782e | |
parent | 4a0b59fe3b245f972a764d276df45ccd23e81972 [diff] [blame] |
Allow const QemuOptDesc Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/net.c b/net.c index 88934df..a1bf49f 100644 --- a/net.c +++ b/net.c
@@ -840,7 +840,7 @@ /* 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];