diff options
author | Michael Brown | 2006-04-30 04:13:52 +0200 |
---|---|---|
committer | Michael Brown | 2006-04-30 04:13:52 +0200 |
commit | 7af478b30db5ccfb69573560d81bec7561fa0f64 (patch) | |
tree | 0e8f7c028ac1f8b9d0011673d29e1219e137aa07 /src/include | |
parent | Put the TCP connection periodic processing in tcp.c, where it belongs. (diff) | |
download | ipxe-7af478b30db5ccfb69573560d81bec7561fa0f64.tar.gz ipxe-7af478b30db5ccfb69573560d81bec7561fa0f64.tar.xz ipxe-7af478b30db5ccfb69573560d81bec7561fa0f64.zip |
Make tcp_connect() void; it will eventually have no failure case.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gpxe/hello.h | 2 | ||||
-rw-r--r-- | src/include/gpxe/tcp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gpxe/hello.h b/src/include/gpxe/hello.h index de8127bf..a31da3e1 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 0aa209b7..9b7ecc80 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 ); |