mirror of https://gitee.com/openkylin/qemu.git
Use proper typedef syntax
Why this ever compiled is a mistery to me. Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
3f600fa030
commit
2b321d697b
|
@ -98,13 +98,13 @@
|
|||
#define RECV_FIFO 1
|
||||
#define MAX_XMIT_RETRY 4
|
||||
|
||||
struct SerialFIFO {
|
||||
typedef struct SerialFIFO {
|
||||
uint8_t data[UART_FIFO_LENGTH];
|
||||
uint8_t count;
|
||||
uint8_t itl; /* Interrupt Trigger Level */
|
||||
uint8_t tail;
|
||||
uint8_t head;
|
||||
} typedef SerialFIFO;
|
||||
} SerialFIFO;
|
||||
|
||||
struct SerialState {
|
||||
uint16_t divider;
|
||||
|
|
Loading…
Reference in New Issue