[PATCH xquartz 1/2] os: Build Fix for io.c's redefinition of

Jeremy Huddleston jeremyhu at apple.com
Tue Jan 10 00:55:22 PST 2012


Regression from: 48e7a2ef574c8b38c4f8f07b45f54c8bfd02552b

Found-by: Tinderbox

CC: Daniel Stone <daniel at fooishbar.org>
CC: Adam Jackson <ajax at redhat.com>
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
 os/io.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/os/io.c b/os/io.c
index 78b7260..fa49d66 100644
--- a/os/io.c
+++ b/os/io.c
@@ -92,14 +92,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);
-- 
1.7.7.4



More information about the xorg-devel mailing list