From patchwork Tue Aug 11 15:37:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 31228 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 3EEA8B7079 for ; Thu, 13 Aug 2009 03:41:59 +1000 (EST) Received: from localhost ([127.0.0.1]:52433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbHpi-00037h-EY for incoming@patchwork.ozlabs.org; Wed, 12 Aug 2009 13:41:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbHTq-0001ws-CP for qemu-devel@nongnu.org; Wed, 12 Aug 2009 13:19:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbHTl-0001s4-23 for qemu-devel@nongnu.org; Wed, 12 Aug 2009 13:19:17 -0400 Received: from [199.232.76.173] (port=58036 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbHTk-0001ry-OF for qemu-devel@nongnu.org; Wed, 12 Aug 2009 13:19:12 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:62963) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbHTk-0004gT-4g for qemu-devel@nongnu.org; Wed, 12 Aug 2009 13:19:12 -0400 X-IronPort-AV: E=Sophos;i="4.43,368,1246838400"; d="scan'208";a="6595506" Received: from lonpmailmx01.citrite.net ([10.30.224.162]) by LONPIPO01.EU.CITRIX.COM with ESMTP; 12 Aug 2009 17:19:09 +0000 Received: from mariner.uk.xensource.com (10.80.2.22) by smtprelay.citirx.com (10.30.224.162) with Microsoft SMTP Server id 8.1.358.0; Wed, 12 Aug 2009 18:19:09 +0100 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1MbHTh-0007lR-9p for qemu-devel@nongnu.org; Wed, 12 Aug 2009 18:19:09 +0100 To: qemu-devel@nongnu.org In-Reply-To: <<19074.63829.151234.423348@mariner.uk.xensource.com>> References: <<19074.63829.151234.423348@mariner.uk.xensource.com>> From: Ian Jackson Date: Tue, 11 Aug 2009 16:37:09 +0100 Message-ID: MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 5/7] atapi: adds header guards to hw/mac_dbdma.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Alexandre Bique --- hw/mac_dbdma.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/hw/mac_dbdma.h b/hw/mac_dbdma.h index d236c5b..fc37590 100644 --- a/hw/mac_dbdma.h +++ b/hw/mac_dbdma.h @@ -20,6 +20,9 @@ * THE SOFTWARE. */ +#ifndef MAC_DBDMA_H +#define MAC_DBDMA_H + typedef struct DBDMA_io DBDMA_io; typedef void (*DBDMA_flush)(DBDMA_io *io); @@ -41,3 +44,5 @@ void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq, void *opaque); void DBDMA_schedule(void); void* DBDMA_init (int *dbdma_mem_index); + +#endif /* !MAC_DBDMA_H */