diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-11-26 15:33:47 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:36 -0600 |
commit | 1e37607b5e32dc5f4ee422ae45da4de659db0691 (patch) | |
tree | 4353fd29e540d35836b2364d0dcc269454e5c42e /hw/esp.h | |
parent | f5c5e38179aff8cc9bb8bd4c9fe42966f0e9f9fd (diff) |
scsi: add/fix header protection.
Also delete the leftover and unused scsi-disk.h file.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/esp.h')
-rw-r--r-- | hw/esp.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,6 @@ +#ifndef QEMU_HW_ESP_H +#define QEMU_HW_ESP_H + /* esp.c */ #define ESP_MAX_DEVS 7 typedef void (*espdma_memory_read_write)(void *opaque, uint8_t *buf, int len); @@ -5,3 +8,5 @@ void esp_init(target_phys_addr_t espaddr, int it_shift, espdma_memory_read_write dma_memory_read, espdma_memory_read_write dma_memory_write, void *dma_opaque, qemu_irq irq, qemu_irq *reset); + +#endif |