| Submitter | Gerd Hoffmann |
|---|---|
| Date | Dec. 18, 2009, 4:37 p.m. |
| Message ID | <4B2BAFDF.50700@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/41420/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/hw/fw_cfg.h b/hw/fw_cfg.h index a63f54f..c1019d0 100644 --- a/hw/fw_cfg.h +++ b/hw/fw_cfg.h @@ -38,6 +38,7 @@ #define FW_CFG_INVALID 0xffff +#ifndef NO_QEMU_PROTOS typedef struct FWCfgFile { uint32_t size; /* file size */ uint16_t select; /* write this to 0x510 to read it */ @@ -50,7 +51,6 @@ typedef struct FWCfgFiles { FWCfgFile f[]; } FWCfgFiles; -#ifndef NO_QEMU_PROTOS typedef void (*FWCfgCallback)(void *opaque, uint8_t *data); typedef struct _FWCfgState FWCfgState;