aboutsummaryrefslogtreecommitdiff
path: root/hw/xilinx.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-12-06 12:15:58 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-19 08:31:31 +0100
commitcb9c377f54a756b04ef92c1c2e0453613ee863cf (patch)
treedb0ebf64a6b7bddd6cabc626d882402e60ffcab9 /hw/xilinx.h
parent7edd63f1b179c18f0f1a4664ddbabe4fe5b2be2f (diff)
janitor: add guards to headers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/xilinx.h')
-rw-r--r--hw/xilinx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/xilinx.h b/hw/xilinx.h
index 735f8e257d..a12eccbe3c 100644
--- a/hw/xilinx.h
+++ b/hw/xilinx.h
@@ -1,3 +1,7 @@
+#ifndef HW_XILINX_H
+#define HW_XILINX_H 1
+
+
#include "stream.h"
#include "qemu-common.h"
#include "net/net.h"
@@ -90,3 +94,5 @@ xilinx_axiethernetdma_init(DeviceState *dev, StreamSlave *peer,
sysbus_connect_irq(sysbus_from_qdev(dev), 0, irq);
sysbus_connect_irq(sysbus_from_qdev(dev), 1, irq2);
}
+
+#endif