Make tcp_connect() void; it will eventually have no failure case.

This commit is contained in:
Michael Brown
2006-04-30 02:13:52 +00:00
parent 9c9208a132
commit 7af478b30d
4 changed files with 7 additions and 17 deletions

View File

@@ -41,6 +41,6 @@ struct hello_request {
int complete;
};
extern int hello_connect ( struct hello_request *hello );
extern void hello_connect ( struct hello_request *hello );
#endif

View File

@@ -94,7 +94,7 @@ struct tcp_connection {
extern void *tcp_buffer;
extern size_t tcp_buflen;
extern int tcp_connect ( struct tcp_connection *conn );
extern void tcp_connect ( struct tcp_connection *conn );
extern void tcp_send ( struct tcp_connection *conn, const void *data,
size_t len );
extern void tcp_close ( struct tcp_connection *conn );