From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrrPf-00066v-3W for qemu-devel@nongnu.org; Wed, 17 Mar 2010 07:27:47 -0400 Received: from [199.232.76.173] (port=35402 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrrPc-0005xX-6c for qemu-devel@nongnu.org; Wed, 17 Mar 2010 07:27:44 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NrrA4-0001Sr-D4 for qemu-devel@nongnu.org; Wed, 17 Mar 2010 07:11:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64818) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NrrA3-0001SS-JM for qemu-devel@nongnu.org; Wed, 17 Mar 2010 07:11:39 -0400 Date: Wed, 17 Mar 2010 13:08:10 +0200 From: "Michael S. Tsirkin" Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] [PATCHv6 06/11] 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 Cc: amit.shah@redhat.com, kraxel@redhat.com, quintela@redhat.com make it possible to use type without header include, simplifying header dependencies. 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 d3eb714..f885f1b 100644 --- a/hw/virtio.h +++ b/hw/virtio.h @@ -69,7 +69,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 f12a8f5..90ca3b8 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -228,6 +228,7 @@ typedef struct I2SCodec I2SCodec; typedef struct DeviceState DeviceState; typedef struct SSIBus SSIBus; typedef struct EventNotifier EventNotifier; +typedef struct VirtIODevice VirtIODevice; typedef uint64_t pcibus_t; -- 1.7.0.18.g0d53a5