From 84990c6ecb35ef322b74b8cc9e74ad5964b66ee5 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 29 Mar 2017 13:20:42 -0700 Subject: Clean up some dead code. --- src/core/platform.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core/platform.h') diff --git a/src/core/platform.h b/src/core/platform.h index 1644973c..e6eac8e3 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -208,13 +208,11 @@ extern int nni_plat_tcp_connect(nni_plat_tcpsock *, const nni_sockaddr *, // of iovs will never be larger than 4. The platform may modify the iovs, // or the iov list. extern int nni_plat_tcp_aio_send(nni_plat_tcpsock *, nni_aio *); -extern int nni_plat_tcp_send(nni_plat_tcpsock *, nni_iov *, int); -// nni_plat_tcp_recv recvs data into the buffers provided by the +// nni_plat_tcp_aio_recv recvs data into the buffers provided by the // iovs. The implementation does not return until the iovs are completely // full, or an error condition occurs. extern int nni_plat_tcp_aio_recv(nni_plat_tcpsock *, nni_aio *); -extern int nni_plat_tcp_recv(nni_plat_tcpsock *, nni_iov *, int); // nni_plat_ipc_init initializes the socket, for example it can // set underlying file descriptors to -1, etc. -- cgit v1.2.3-70-g09d2