[NeoStats-Devel] [Commits] r2462 - trunk/lib/adns

[email protected]
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Wed Apr  6 06:55:32 2005
New Revision: 2462

Modified:
   trunk/lib/adns/event.c
   trunk/lib/adns/general.c
   trunk/lib/adns/setup.c
   trunk/lib/adns/transmit.c
Log:
adns include tidy

Modified: trunk/lib/adns/event.c
==============================================================================
--- trunk/lib/adns/event.c	(original)
+++ trunk/lib/adns/event.c	Wed Apr  6 06:55:32 2005
@@ -31,11 +31,10 @@
  * - user-visible check/wait and event-loop-related functions
  */
 
+#include "internal.h"
 #ifdef HAVE_ARPA_INET_H
 #include <arpa/inet.h>
 #endif
-
-#include "internal.h"
 #include "tvarith.h"
 
 /* socket monitoring managemnet */

Modified: trunk/lib/adns/general.c
==============================================================================
--- trunk/lib/adns/general.c	(original)
+++ trunk/lib/adns/general.c	Wed Apr  6 06:55:32 2005
@@ -30,11 +30,10 @@
  * - vbuf handling
  */
 
+#include "internal.h"
 #ifdef HAVE_ARPA_INET_H
 #include <arpa/inet.h>
 #endif
-
-#include "internal.h"
 
 /* Core diagnostic functions */
 

Modified: trunk/lib/adns/setup.c
==============================================================================
--- trunk/lib/adns/setup.c	(original)
+++ trunk/lib/adns/setup.c	Wed Apr  6 06:55:32 2005
@@ -31,7 +31,6 @@
  */
 
 #include "internal.h"
-
 #ifdef WIN32
 #include <iphlpapi.h>
 #else

Modified: trunk/lib/adns/transmit.c
==============================================================================
--- trunk/lib/adns/transmit.c	(original)
+++ trunk/lib/adns/transmit.c	Wed Apr  6 06:55:32 2005
@@ -30,12 +30,10 @@
  * - send queries
  */
 
-#ifdef WIN32
-#else
+#include "internal.h"
+#ifndef WIN32
 #include <sys/uio.h>
 #endif
-
-#include "internal.h"
 #include "tvarith.h"
 
 #define MKQUERY_START(vb) (rqp= (vb)->buf+(vb)->used)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.