os: Don't re-declare ConnectionInputPtr and ConnectionOutputPtr
They're declared in osdep.h, so don't redeclare them in io.c as well. Keeps the compiler happier. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
d5bf6f95f3
commit
7f9d78d8ff
4
os/io.c
4
os/io.c
|
@ -90,14 +90,14 @@ typedef struct _connectionInput {
|
|||
int lenLastReq;
|
||||
int size;
|
||||
unsigned int ignoreBytes; /* bytes to ignore before the next request */
|
||||
} ConnectionInput, *ConnectionInputPtr;
|
||||
} ConnectionInput;
|
||||
|
||||
typedef struct _connectionOutput {
|
||||
struct _connectionOutput *next;
|
||||
unsigned char *buf;
|
||||
int size;
|
||||
int count;
|
||||
} ConnectionOutput, *ConnectionOutputPtr;
|
||||
} ConnectionOutput;
|
||||
|
||||
static ConnectionInputPtr AllocateInputBuffer(void);
|
||||
static ConnectionOutputPtr AllocateOutputBuffer(void);
|
||||
|
|
Loading…
Reference in New Issue
Block a user