diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-03-29 13:20:42 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-03-29 13:22:24 -0700 |
| commit | 84990c6ecb35ef322b74b8cc9e74ad5964b66ee5 (patch) | |
| tree | b545f8bc47828e9398d053d31e7676e2554cbf3c /src/core/platform.h | |
| parent | 374f93a18edca2e0656c337a5b54927169ec31fa (diff) | |
| download | nng-84990c6ecb35ef322b74b8cc9e74ad5964b66ee5.tar.gz nng-84990c6ecb35ef322b74b8cc9e74ad5964b66ee5.tar.bz2 nng-84990c6ecb35ef322b74b8cc9e74ad5964b66ee5.zip | |
Clean up some dead code.
Diffstat (limited to 'src/core/platform.h')
| -rw-r--r-- | src/core/platform.h | 4 |
1 files changed, 1 insertions, 3 deletions
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. |
