diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-12-27 01:06:35 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-12-27 01:06:35 -0800 |
| commit | c590be7c6ead811f929041393a061e4068f35b00 (patch) | |
| tree | 967b495c0a0865996f2b849b6b475a4beb67a1a0 /src/core/platform.h | |
| parent | 1bb46ca346e666fd9c60e7be06ef7a1c927ca2f1 (diff) | |
| download | nng-c590be7c6ead811f929041393a061e4068f35b00.tar.gz nng-c590be7c6ead811f929041393a061e4068f35b00.tar.bz2 nng-c590be7c6ead811f929041393a061e4068f35b00.zip | |
fixes #1051 nni_ntop is unused
Diffstat (limited to 'src/core/platform.h')
| -rw-r--r-- | src/core/platform.h | 6 |
1 files changed, 0 insertions, 6 deletions
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 |
