summaryrefslogtreecommitdiff
path: root/lib/inet_pton.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-24 19:13:01 +0000
committerYang Tse <yangsita@gmail.com>2008-09-24 19:13:01 +0000
commit4d437416daee0f626988b8c056ae9cd22486c655 (patch)
treefa0c53d82e00e6ba7670c3fec8278a6cf773bbe3 /lib/inet_pton.h
parent267b942383465f8d9ff193e4deaa0d383a09d6b7 (diff)
downloadcurl-4d437416daee0f626988b8c056ae9cd22486c655.tar.gz
HAVE_INET_PTON will only be defined when an IPv6 capable working
inet_pton function is available.
Diffstat (limited to 'lib/inet_pton.h')
-rw-r--r--lib/inet_pton.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/inet_pton.h b/lib/inet_pton.h
index a659a9774..8331ba9dc 100644
--- a/lib/inet_pton.h
+++ b/lib/inet_pton.h
@@ -28,11 +28,6 @@
int Curl_inet_pton(int, const char *, void *);
#ifdef HAVE_INET_PTON
-
-#if defined(HAVE_NO_INET_PTON_PROTO)
-int inet_pton(int af, const char *src, void *dst);
-#endif
-
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif