summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-04 22:51:06 -0700
committerKeith Packard <keithp@keithp.com>2012-10-04 23:15:54 -0700
commit7f9d78d8ffb1a312f9b3d69c05323f601571e162 (patch)
tree534371939cff28d42b3562dd29c0fc814df29728 /os
parentd5bf6f95f31037bd49b11348b500c3c13b7e0c99 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/io.c b/os/io.c
index 5c3aceb2c..2f091c417 100644
--- a/os/io.c
+++ b/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);