diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 12:15:58 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-19 08:31:31 +0100 |
commit | cb9c377f54a756b04ef92c1c2e0453613ee863cf (patch) | |
tree | db0ebf64a6b7bddd6cabc626d882402e60ffcab9 /hw/ne2000.h | |
parent | 7edd63f1b179c18f0f1a4664ddbabe4fe5b2be2f (diff) | |
download | qemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.zip qemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.tar.gz qemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.tar.bz2 |
janitor: add guards to headers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ne2000.h')
-rw-r--r-- | hw/ne2000.h | 5 |
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 |