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:
Keith Packard 2012-10-04 22:51:06 -07:00
parent d5bf6f95f3
commit 7f9d78d8ff

View File

@ -90,14 +90,14 @@ typedef struct _connectionInput {
int lenLastReq; int lenLastReq;
int size; int size;
unsigned int ignoreBytes; /* bytes to ignore before the next request */ unsigned int ignoreBytes; /* bytes to ignore before the next request */
} ConnectionInput, *ConnectionInputPtr; } ConnectionInput;
typedef struct _connectionOutput { typedef struct _connectionOutput {
struct _connectionOutput *next; struct _connectionOutput *next;
unsigned char *buf; unsigned char *buf;
int size; int size;
int count; int count;
} ConnectionOutput, *ConnectionOutputPtr; } ConnectionOutput;
static ConnectionInputPtr AllocateInputBuffer(void); static ConnectionInputPtr AllocateInputBuffer(void);
static ConnectionOutputPtr AllocateOutputBuffer(void); static ConnectionOutputPtr AllocateOutputBuffer(void);