]> git.proxmox.com Git - qemu.git/commitdiff
fw_cfg: don't use reserved _ prefix
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 7 Feb 2010 09:15:26 +0000 (09:15 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 7 Feb 2010 09:15:26 +0000 (09:15 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/fw_cfg.c
hw/fw_cfg.h

index ea120ba5531e81d1a8c2ebf6e3e8190835199ac3..fe6c5436a5681a824a0c42f089d7a35262e6f1e9 100644 (file)
 
 #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;
index c1019d0b0825eebe38d63c0f5daf9ee68c3f0cd0..4d13a4f394e37e0a5b438c04ff52f3a16294b9d4 100644 (file)
@@ -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);