summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/hello.h2
-rw-r--r--src/include/gpxe/tcp.h2
2 files changed, 2 insertions, 2 deletions
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 );