From c590be7c6ead811f929041393a061e4068f35b00 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 27 Dec 2019 01:06:35 -0800 Subject: fixes #1051 nni_ntop is unused --- src/core/platform.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/core') diff --git a/src/core/platform.h b/src/core/platform.h index 65d9af82..b1d76899 100644 --- a/src/core/platform.h +++ b/src/core/platform.h @@ -294,12 +294,6 @@ extern int nni_tcp_listener_setopt( extern int nni_tcp_listener_getopt( nni_tcp_listener *, const char *, void *, size_t *, nni_type); -// nni_ntop obtains the IP address for the socket (enclosing it -// in brackets if it is IPv6) and port. Enough space for both must -// be present (48 bytes and 6 bytes each), although if either is NULL then -// those components are skipped. This is based on inet_ntop. -extern int nni_ntop(const nni_sockaddr *, char *, char *); - // nni_tcp_resolv resolves a TCP name asynchronously. The family // should be one of NNG_AF_INET, NNG_AF_INET6, or NNG_AF_UNSPEC. The // first two constrain the name to those families, while the third will -- cgit v1.2.3-70-g09d2