Patchwork [4/7] atapi: adds header guards to hw/pcmia.h

login
register
mail settings
Submitter Ian Jackson
Date Aug. 11, 2009, 3:36 p.m.
Message ID <E1MbHTh-0007lL-86@mariner.uk.xensource.com>
Download mbox | patch
Permalink /patch/31227/
State Superseded
Headers show

Comments

Ian Jackson - Aug. 11, 2009, 3:36 p.m.
Signed-off-by: Alexandre Bique <alexandre.bique@citrix.com>
---
 hw/pcmcia.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/pcmcia.h b/hw/pcmcia.h
index 7171504..3c59698 100644
--- a/hw/pcmcia.h
+++ b/hw/pcmcia.h
@@ -1,5 +1,8 @@ 
 /* PCMCIA/Cardbus */
 
+#ifndef PCMCIA_H
+#define PCMCIA_H
+
 #include "qemu-common.h"
 
 typedef struct {
@@ -49,3 +52,5 @@  struct PCMCIACardState {
 
 /* dscm1xxxx.c */
 PCMCIACardState *dscm1xxxx_init(BlockDriverState *bdrv);
+
+#endif