summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-11 03:46:47 (GMT)
committerYang Tse <yangsita@gmail.com>2008-09-11 03:46:47 (GMT)
commit2cb5cbba341fb6ee55434d4596c1cae15dbc6f37 (patch)
tree291f96159c810ed0be1d431fe470d8f9d76db802
parent9a36d5718d96f20e4de3d708004c6d691b164cf8 (diff)
downloadc-ares-2cb5cbba341fb6ee55434d4596c1cae15dbc6f37.zip
c-ares-2cb5cbba341fb6ee55434d4596c1cae15dbc6f37.tar.gz
c-ares-2cb5cbba341fb6ee55434d4596c1cae15dbc6f37.tar.bz2
move inclusion of ares_private.h last
-rw-r--r--ares__get_hostent.c2
-rw-r--r--ares_gethostbyaddr.c2
-rw-r--r--ares_gethostbyname.c2
-rw-r--r--ares_getnameinfo.c2
-rw-r--r--ares_init.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/ares__get_hostent.c b/ares__get_hostent.c
index dc5f8ad..cea95ae 100644
--- a/ares__get_hostent.c
+++ b/ares__get_hostent.c
@@ -30,8 +30,8 @@
#include <ctype.h>
#include "ares.h"
-#include "ares_private.h"
#include "inet_net_pton.h"
+#include "ares_private.h"
int ares__get_hostent(FILE *fp, int family, struct hostent **host)
{
diff --git a/ares_gethostbyaddr.c b/ares_gethostbyaddr.c
index 909132e..7b4a733 100644
--- a/ares_gethostbyaddr.c
+++ b/ares_gethostbyaddr.c
@@ -33,8 +33,8 @@
#include <string.h>
#include "ares.h"
-#include "ares_private.h"
#include "inet_net_pton.h"
+#include "ares_private.h"
#ifdef WATT32
#undef WIN32
diff --git a/ares_gethostbyname.c b/ares_gethostbyname.c
index 1e7e158..be1f92b 100644
--- a/ares_gethostbyname.c
+++ b/ares_gethostbyname.c
@@ -41,9 +41,9 @@
#endif
#include "ares.h"
-#include "ares_private.h"
#include "inet_net_pton.h"
#include "bitncmp.h"
+#include "ares_private.h"
#ifdef WATT32
#undef WIN32
diff --git a/ares_getnameinfo.c b/ares_getnameinfo.c
index 06a4312..82cad1f 100644
--- a/ares_getnameinfo.c
+++ b/ares_getnameinfo.c
@@ -42,9 +42,9 @@
#include <string.h>
#include "ares.h"
-#include "ares_private.h"
#include "ares_ipv6.h"
#include "inet_ntop.h"
+#include "ares_private.h"
#ifdef WATT32
#undef WIN32
diff --git a/ares_init.c b/ares_init.c
index bf4771d..406bf88 100644
--- a/ares_init.c
+++ b/ares_init.c
@@ -58,8 +58,8 @@
#include <time.h>
#include <errno.h>
#include "ares.h"
-#include "ares_private.h"
#include "inet_net_pton.h"
+#include "ares_private.h"
#ifdef WATT32
#undef WIN32 /* Redefined in MingW/MSVC headers */