diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-04 22:51:06 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-04 23:15:54 -0700 |
commit | 7f9d78d8ffb1a312f9b3d69c05323f601571e162 (patch) | |
tree | 534371939cff28d42b3562dd29c0fc814df29728 /os | |
parent | d5bf6f95f31037bd49b11348b500c3c13b7e0c99 (diff) |
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>
Diffstat (limited to 'os')
-rw-r--r-- | os/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |