Re: [Qemu-devel] [PATCH] virtio: Move extern declaration to header file

2014-08-02 Thread Michael Tokarev
07.07.2014 23:13, Stefan Weil wrote: [] > index 35316c4..ff4f200 100644 > --- a/hw/virtio/vhost-backend.c > +++ b/hw/virtio/vhost-backend.c > @@ -14,8 +14,6 @@ > > #include > > -extern const VhostOps user_ops; > - BTW, it looks like we still have just one VhostOps - this user_ops one - despi

[Qemu-devel] [PATCH] virtio: Move extern declaration to header file

2014-07-07 Thread Stefan Weil
This fixes a warning from smatch (static code analyser). Signed-off-by: Stefan Weil --- hw/virtio/vhost-backend.c |2 -- include/hw/virtio/vhost-backend.h |2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/virtio/vhost-backend.c b/hw/virtio/vhost-backend.c i