summary refs log tree commit diff stats
path: root/hw/macio.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-10-01 22:20:47 +0400
committermalc <av1474@comtv.ru>2009-10-01 22:45:02 +0400
commit99a0949b720a0936da2052cb9a46db04ffc6db29 (patch)
treef9e39633853e35b49fc4465337cc196b9650866e /hw/macio.c
parentbc6291a1b95a2c4c546fde6e5cb4c68366f06649 (diff)
downloadfocaccia-qemu-99a0949b720a0936da2052cb9a46db04ffc6db29.tar.gz
focaccia-qemu-99a0949b720a0936da2052cb9a46db04ffc6db29.zip
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the time
being.

Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/macio.c')
-rw-r--r--hw/macio.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/hw/macio.c b/hw/macio.c
index 8cfadfc5e0..52d05d8e79 100644
--- a/hw/macio.c
+++ b/hw/macio.c
@@ -27,8 +27,8 @@
 #include "pci.h"
 #include "escc.h"
 
-typedef struct macio_state_t macio_state_t;
-struct macio_state_t {
+typedef struct macio_state a_macio_state;
+struct macio_state {
     int is_oldworld;
     int pic_mem_index;
     int dbdma_mem_index;
@@ -42,10 +42,10 @@ struct macio_state_t {
 static void macio_map (PCIDevice *pci_dev, int region_num,
                        uint32_t addr, uint32_t size, int type)
 {
-    macio_state_t *macio_state;
+    a_macio_state *macio_state;
     int i;
 
-    macio_state = (macio_state_t *)(pci_dev + 1);
+    macio_state = (a_macio_state *)(pci_dev + 1);
     if (macio_state->pic_mem_index >= 0) {
         if (macio_state->is_oldworld) {
             /* Heathrow PIC */
@@ -84,13 +84,13 @@ void macio_init (PCIBus *bus, int device_id, int is_oldworld, int pic_mem_index,
                  int nb_ide, int *ide_mem_index, int escc_mem_index)
 {
     PCIDevice *d;
-    macio_state_t *macio_state;
+    a_macio_state *macio_state;
     int i;
 
     d = pci_register_device(bus, "macio",
-                            sizeof(PCIDevice) + sizeof(macio_state_t),
+                            sizeof(PCIDevice) + sizeof(a_macio_state),
                             -1, NULL, NULL);
-    macio_state = (macio_state_t *)(d + 1);
+    macio_state = (a_macio_state *)(d + 1);
     macio_state->is_oldworld = is_oldworld;
     macio_state->pic_mem_index = pic_mem_index;
     macio_state->dbdma_mem_index = dbdma_mem_index;