aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-02-07 09:15:26 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-02-07 09:15:26 +0000
commitb96ae2da0b50e2c0f3d27d70df32a6fd56f2593a (patch)
tree99067fa3b3ddec76a80be507747268be410ea7a8 /hw
parent7859cb988da7a30d75a0831a97dc5988a5dc104a (diff)
fw_cfg: don't use reserved _ prefix
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/fw_cfg.c4
-rw-r--r--hw/fw_cfg.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/hw/fw_cfg.c b/hw/fw_cfg.c
index ea120ba553..fe6c5436a5 100644
--- a/hw/fw_cfg.c
+++ b/hw/fw_cfg.c
@@ -38,14 +38,14 @@
#define FW_CFG_SIZE 2
-typedef struct _FWCfgEntry {
+typedef struct FWCfgEntry {
uint32_t len;
uint8_t *data;
void *callback_opaque;
FWCfgCallback callback;
} FWCfgEntry;
-struct _FWCfgState {
+struct FWCfgState {
FWCfgEntry entries[2][FW_CFG_MAX_ENTRY];
FWCfgFiles *files;
uint16_t cur_entry;
diff --git a/hw/fw_cfg.h b/hw/fw_cfg.h
index c1019d0b08..4d13a4f394 100644
--- a/hw/fw_cfg.h
+++ b/hw/fw_cfg.h
@@ -53,7 +53,7 @@ typedef struct FWCfgFiles {
typedef void (*FWCfgCallback)(void *opaque, uint8_t *data);
-typedef struct _FWCfgState FWCfgState;
+typedef struct FWCfgState FWCfgState;
int fw_cfg_add_bytes(FWCfgState *s, uint16_t key, uint8_t *data, uint32_t len);
int fw_cfg_add_i16(FWCfgState *s, uint16_t key, uint16_t value);
int fw_cfg_add_i32(FWCfgState *s, uint16_t key, uint32_t value);