From 7af478b30db5ccfb69573560d81bec7561fa0f64 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 30 Apr 2006 02:13:52 +0000 Subject: Make tcp_connect() void; it will eventually have no failure case. --- src/include/gpxe/hello.h | 2 +- src/include/gpxe/tcp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/gpxe/hello.h b/src/include/gpxe/hello.h index de8127bf4..a31da3e12 100644 --- a/src/include/gpxe/hello.h +++ b/src/include/gpxe/hello.h @@ -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 diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h index 0aa209b7c..9b7ecc80e 100644 --- a/src/include/gpxe/tcp.h +++ b/src/include/gpxe/tcp.h @@ -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 ); -- cgit v1.2.3-55-g7522