summaryrefslogtreecommitdiff
path: root/inet_net_pton.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-26 10:43:15 +0000
committerYang Tse <yangsita@gmail.com>2006-07-26 10:43:15 +0000
commit962f710089dab6bf75d222718327f7c4bf765e6c (patch)
tree894bb1c31b26bf46fe7a819df15346d529f41f4c /inet_net_pton.h
parente5c95e68d80503b3da2e6a0916e1299fd9f4f04a (diff)
downloadc-ares-962f710089dab6bf75d222718327f7c4bf765e6c.tar.gz
c-ares-962f710089dab6bf75d222718327f7c4bf765e6c.tar.bz2
c-ares-962f710089dab6bf75d222718327f7c4bf765e6c.zip
Change multiple header inclusion prevention definition to __ARES_INET_NET_PTON_H
Diffstat (limited to 'inet_net_pton.h')
-rw-r--r--inet_net_pton.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/inet_net_pton.h b/inet_net_pton.h
index 070a24f..f3fc609 100644
--- a/inet_net_pton.h
+++ b/inet_net_pton.h
@@ -1,3 +1,6 @@
+#ifndef __ARES_INET_NET_PTON_H
+#define __ARES_INET_NET_PTON_H
+
/* $Id$ */
/*
@@ -14,9 +17,6 @@
* without express or implied warranty.
*/
-#ifndef INET_NET_PTON_H
-#define INET_NET_PTON_H
-
#if defined(HAVE_INET_PTON) && defined(HAVE_INET_PTON_IPV6)
#define ares_inet_pton(x,y,z) inet_pton(x,y,z)
#else
@@ -28,4 +28,4 @@ int ares_inet_pton(int af, const char *src, void *dst);
int ares_inet_net_pton(int af, const char *src, void *dst, size_t size);
#endif
-#endif /* INET_NET_PTON_H */
+#endif /* __ARES_INET_NET_PTON_H */