From 7f9d78d8ffb1a312f9b3d69c05323f601571e162 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 4 Oct 2012 22:51:06 -0700 Subject: [PATCH] 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 Reviewed-by: Dave Airlie --- os/io.c | 4 ++-- 1 file 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);