Patchwork [5/7] atapi: adds header guards to hw/mac_dbdma.h

login
register
mail settings
Submitter Bique Alexandre
Date Aug. 7, 2009, 5:33 p.m.
Message ID <1249666392-31905-6-git-send-email-alexandre.bique@citrix.com>
Download mbox | patch
Permalink /patch/30952/
State Superseded
Headers show

Comments

Bique Alexandre - Aug. 7, 2009, 5:33 p.m.
Signed-off-by: Alexandre Bique <alexandre.bique@citrix.com>
---
 hw/mac_dbdma.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Patch

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 */