From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nd19j-00048L-Ue for qemu-devel@nongnu.org; Thu, 04 Feb 2010 07:50:00 -0500 Received: from [199.232.76.173] (port=55469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd19j-000488-77 for qemu-devel@nongnu.org; Thu, 04 Feb 2010 07:49:59 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nd19h-00081E-T0 for qemu-devel@nongnu.org; Thu, 04 Feb 2010 07:49:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35864) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nd19h-00081A-Fh for qemu-devel@nongnu.org; Thu, 04 Feb 2010 07:49:57 -0500 Date: Thu, 4 Feb 2010 14:46:45 +0200 From: "Michael S. Tsirkin" Message-ID: <20100204124645.GJ22559@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] [PATCH 09/15] virtio: move typedef to qemu-common List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , qemu-devel@nongnu.org make it possible to use type without header include Signed-off-by: Michael S. Tsirkin --- hw/virtio.h | 1 - qemu-common.h | 1 + 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/virtio.h b/hw/virtio.h index 235e7c4..5dae591 100644 --- a/hw/virtio.h +++ b/hw/virtio.h @@ -68,7 +68,6 @@ static inline target_phys_addr_t vring_align(target_phys_addr_t addr, } typedef struct VirtQueue VirtQueue; -typedef struct VirtIODevice VirtIODevice; #define VIRTQUEUE_MAX_SIZE 1024 diff --git a/qemu-common.h b/qemu-common.h index 423e962..e1c3c4e 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -225,6 +225,7 @@ typedef struct I2SCodec I2SCodec; typedef struct DeviceState DeviceState; typedef struct SSIBus SSIBus; typedef struct EventNotifier EventNotifier; +typedef struct VirtIODevice VirtIODevice; /* CPU save/load. */ void cpu_save(QEMUFile *f, void *opaque); -- 1.6.6.144.g5c3af