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:
Juan Quintela 2009-09-23 01:18:59 +02:00 committed by Blue Swirl
parent 3f600fa030
commit 2b321d697b
1 changed files with 2 additions and 2 deletions

View File

@ -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;