aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/platform.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/platform.h b/src/core/platform.h
index b3fc7572..ed32c550 100644
--- a/src/core/platform.h
+++ b/src/core/platform.h
@@ -187,13 +187,6 @@ extern int nni_plat_init(int (*)(void));
// will be called until nni_platform_init is called.
extern void nni_plat_fini(void);
-// nni_plat_lookup_host looks up a hostname in DNS, or the local hosts
-// file, or whatever. If your platform lacks support for naming, it must
-// at least cope with converting IP addresses in string form. The final
-// flags may include NNI_FLAG_IPV4ONLY to prevent IPv6 names from being
-// returned on dual stack machines.
-extern int nni_plat_lookup_host(const char *, nni_sockaddr *, int);
-
//
// TCP Support.
//