diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-02-07 08:05:47 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-07 08:05:47 +0000 |
commit | 8e39a033fb5a8ac9a0a28bdf42182b96267f305d (patch) | |
tree | c2e7bf87ae23e6a05ba6d8aa656794ffd5496700 /hw/escc.c | |
parent | 43a347045768ce843987649bafc5bc1dd18d4d0f (diff) | |
download | qemu-8e39a033fb5a8ac9a0a28bdf42182b96267f305d.zip qemu-8e39a033fb5a8ac9a0a28bdf42182b96267f305d.tar.gz qemu-8e39a033fb5a8ac9a0a28bdf42182b96267f305d.tar.bz2 |
escc: don't use reserved _t suffix
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/escc.c')
-rw-r--r-- | hw/escc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -88,13 +88,13 @@ typedef enum { chn_a, chn_b, -} chn_id_t; +} ChnID; #define CHN_C(s) ((s)->chn == chn_b? 'b' : 'a') typedef enum { ser, kbd, mouse, -} chn_type_t; +} ChnType; #define SERIO_QUEUE_SIZE 256 @@ -108,8 +108,8 @@ typedef struct ChannelState { qemu_irq irq; uint32_t reg; uint32_t rxint, txint, rxint_under_svc, txint_under_svc; - chn_id_t chn; // this channel, A (base+4) or B (base+0) - chn_type_t type; + ChnID chn; // this channel, A (base+4) or B (base+0) + ChnType type; struct ChannelState *otherchn; uint8_t rx, tx, wregs[SERIAL_REGS], rregs[SERIAL_REGS]; SERIOQueue queue; |