aboutsummaryrefslogtreecommitdiff
path: root/hw/mac_dbdma.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/mac_dbdma.h
parent7edd63f1b179c18f0f1a4664ddbabe4fe5b2be2f (diff)
janitor: add guards to headers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/mac_dbdma.h')
-rw-r--r--hw/mac_dbdma.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/mac_dbdma.h b/hw/mac_dbdma.h
index bfdb0ddc68..e596837f46 100644
--- a/hw/mac_dbdma.h
+++ b/hw/mac_dbdma.h
@@ -19,6 +19,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef HW_MAC_DBDMA_H
+#define HW_MAC_DBDMA_H 1
#include "memory.h"
@@ -42,3 +44,5 @@ void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq,
DBDMA_rw rw, DBDMA_flush flush,
void *opaque);
void* DBDMA_init (MemoryRegion **dbdma_mem);
+
+#endif