mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 03:55:46 +03:00
Make tcp_connect() void; it will eventually have no failure case.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user