From a07b388e7ac8bdae54cc8268654906991b0e733c Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 27 Nov 2005 20:06:36 +0000 Subject: [PATCH] change how struct is defined for gcc --- wince/cesockwr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wince/cesockwr.c b/wince/cesockwr.c index b87c74488..72e3df1a8 100755 --- a/wince/cesockwr.c +++ b/wince/cesockwr.c @@ -43,7 +43,7 @@ typedef enum { #define MAX_QUEUE_SIZE 3 -typedef struct CeSocketWrapper { + struct CeSocketWrapper { DataRecvProc dataProc; void* dataClosure; @@ -67,7 +67,7 @@ typedef struct CeSocketWrapper { #endif MPSLOT -} CeSocketWrapper; +}; /* queue_packet: Place packet on queue using semaphore. Return false * if no room or fail for some other reason.