mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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:
committed by
Blue Swirl
parent
3f600fa030
commit
2b321d697b
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user