change how struct is defined for gcc

This commit is contained in:
ehouse 2005-11-27 20:06:36 +00:00
parent acbd41334f
commit a07b388e7a

View file

@ -43,7 +43,7 @@ typedef enum {
#define MAX_QUEUE_SIZE 3 #define MAX_QUEUE_SIZE 3
typedef struct CeSocketWrapper { struct CeSocketWrapper {
DataRecvProc dataProc; DataRecvProc dataProc;
void* dataClosure; void* dataClosure;
@ -67,7 +67,7 @@ typedef struct CeSocketWrapper {
#endif #endif
MPSLOT MPSLOT
} CeSocketWrapper; };
/* queue_packet: Place packet on queue using semaphore. Return false /* queue_packet: Place packet on queue using semaphore. Return false
* if no room or fail for some other reason. * if no room or fail for some other reason.