diff mbox

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

Message ID 1249666392-31905-6-git-send-email-alexandre.bique@citrix.com
State Superseded
Headers show

Commit Message

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

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