From: Stefan Weil Date: Sat, 28 Feb 2015 18:19:17 +0000 (+0100) Subject: vhost_net: Add missing 'static' attribute X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d122f1a254abb91e42b4f2b2e1f8ee8980785e68;p=qemu.git vhost_net: Add missing 'static' attribute This fixes a warning from smatch. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index 2ea1ef1dd0..cf23335ba2 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -56,7 +56,7 @@ static const int kernel_feature_bits[] = { }; /* Features supported by others. */ -const int user_feature_bits[] = { +static const int user_feature_bits[] = { VIRTIO_F_NOTIFY_ON_EMPTY, VIRTIO_RING_F_INDIRECT_DESC, VIRTIO_RING_F_EVENT_IDX,