summaryrefslogtreecommitdiff
path: root/hw/flash.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/flash.h
parent7edd63f1b179c18f0f1a4664ddbabe4fe5b2be2f (diff)
downloadqemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.tar.gz
janitor: add guards to headers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/flash.h')
-rw-r--r--hw/flash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/flash.h b/hw/flash.h
index d790f3c92d..bda2158c13 100644
--- a/hw/flash.h
+++ b/hw/flash.h
@@ -1,3 +1,6 @@
+#ifndef HW_FLASH_H
+#define HW_FLASH_H 1
+
/* NOR flash devices */
#include "memory.h"
@@ -57,3 +60,5 @@ typedef struct {
uint8_t ecc_digest(ECCState *s, uint8_t sample);
void ecc_reset(ECCState *s);
extern VMStateDescription vmstate_ecc_state;
+
+#endif