Fix some warning

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2484 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2006-10-30 22:53:54 +00:00
parent 78a092b3f6
commit 84fc66c1b0
+4 -4
View File
@@ -29,9 +29,9 @@ static ConnectState *NetConnection_clientGo(NetConnection *conn);
static void NetConnection_connected(NetConnection *conn); static void NetConnection_connected(NetConnection *conn);
static void NetConnection_connectedServerCallback(ListenState *listenState, static void NetConnection_connectedServerCallback(ListenState *listenState,
NetDescriptor *listenNd, NetDescriptor *newNd, NetDescriptor *listenNd, NetDescriptor *newNd,
const struct sockaddr *addr, socklen_t addrLen); const struct sockaddr *addr, SOCKLEN_T addrLen);
static void NetConnection_connectedClientCallback(ConnectState *connectState, static void NetConnection_connectedClientCallback(ConnectState *connectState,
NetDescriptor *newNd, const struct sockaddr *addr, socklen_t addrLen); NetDescriptor *newNd, const struct sockaddr *addr, SOCKLEN_T addrLen);
static void NetConnection_connected(NetConnection *conn); static void NetConnection_connected(NetConnection *conn);
static void NetConnection_connectedServerErrorCallback( static void NetConnection_connectedServerErrorCallback(
ListenState *listenState, const ListenError *listenError); ListenState *listenState, const ListenError *listenError);
@@ -165,7 +165,7 @@ NetConnection_clientGo(NetConnection *conn) {
static void static void
NetConnection_connectedServerCallback(ListenState *listenState, NetConnection_connectedServerCallback(ListenState *listenState,
NetDescriptor *listenNd, NetDescriptor *newNd, NetDescriptor *listenNd, NetDescriptor *newNd,
const struct sockaddr *addr, socklen_t addrLen) { const struct sockaddr *addr, SOCKLEN_T addrLen) {
NetConnection *conn = NetConnection *conn =
(NetConnection *) ListenState_getExtra(listenState); (NetConnection *) ListenState_getExtra(listenState);
@@ -194,7 +194,7 @@ NetConnection_connectedServerCallback(ListenState *listenState,
static void static void
NetConnection_connectedClientCallback(ConnectState *connectState, NetConnection_connectedClientCallback(ConnectState *connectState,
NetDescriptor *newNd, NetDescriptor *newNd,
const struct sockaddr *addr, socklen_t addrLen) { const struct sockaddr *addr, SOCKLEN_T addrLen) {
NetConnection *conn = NetConnection *conn =
(NetConnection *) ConnectState_getExtra(connectState); (NetConnection *) ConnectState_getExtra(connectState);