summaryrefslogtreecommitdiffstats
path: root/hw/ne2000.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/ne2000.h
parent7edd63f1b179c18f0f1a4664ddbabe4fe5b2be2f (diff)
downloadhqemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.zip
hqemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.tar.gz
janitor: add guards to headers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ne2000.h')
-rw-r--r--hw/ne2000.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/ne2000.h b/hw/ne2000.h
index 1e7ab07..b31ae03 100644
--- a/hw/ne2000.h
+++ b/hw/ne2000.h
@@ -1,3 +1,6 @@
+#ifndef HW_NE2000_H
+#define HW_NE2000_H 1
+
#define NE2000_PMEM_SIZE (32*1024)
#define NE2000_PMEM_START (16*1024)
#define NE2000_PMEM_END (NE2000_PMEM_SIZE+NE2000_PMEM_START)
@@ -33,3 +36,5 @@ extern const VMStateDescription vmstate_ne2000;
void ne2000_reset(NE2000State *s);
int ne2000_can_receive(NetClientState *nc);
ssize_t ne2000_receive(NetClientState *nc, const uint8_t *buf, size_t size_);
+
+#endif
OpenPOWER on IntegriCloud