summaryrefslogtreecommitdiff
path: root/include/hw/nvram
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-13 16:27:06 +0300
committerMichael S. Tsirkin <mst@redhat.com>2013-06-02 18:14:14 +0300
commit45936c8b79012da4c8986c20af4afcc9cd14bb8e (patch)
treed8bfdda3a0340b2d967d94812c739e0c0e16ced5 /include/hw/nvram
parenta88b362c6ffbb7a802bf0ed5ef0e2447164dc989 (diff)
downloadqemu-45936c8b79012da4c8986c20af4afcc9cd14bb8e.tar.gz
fw_cfg: move typedef to qemu/typedefs.h
Less header dependencies this way. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/nvram')
-rw-r--r--include/hw/nvram/fw_cfg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/nvram/fw_cfg.h b/include/hw/nvram/fw_cfg.h
index 3e4a3347e8..f37714ee9b 100644
--- a/include/hw/nvram/fw_cfg.h
+++ b/include/hw/nvram/fw_cfg.h
@@ -6,6 +6,7 @@
#include <stddef.h>
#include "exec/hwaddr.h"
+#include "qemu/typedefs.h"
#endif
#define FW_CFG_SIGNATURE 0x00
@@ -60,7 +61,6 @@ typedef struct FWCfgFiles {
typedef void (*FWCfgCallback)(void *opaque, uint8_t *data);
-typedef struct FWCfgState FWCfgState;
void fw_cfg_add_bytes(FWCfgState *s, uint16_t key, void *data, size_t len);
void fw_cfg_add_string(FWCfgState *s, uint16_t key, const char *value);
void fw_cfg_add_i16(FWCfgState *s, uint16_t key, uint16_t value);