cleaned up #include files
authoraland <aland>
Mon, 23 Oct 2000 18:41:39 +0000 (18:41 +0000)
committeraland <aland>
Mon, 23 Oct 2000 18:41:39 +0000 (18:41 +0000)
src/main/auth.c
src/main/radiusd.c
src/modules/rlm_files/rlm_files.c

index 0a6b0fc..ed6792c 100644 (file)
@@ -9,14 +9,11 @@ static const char rcsid[] = "$Id$";
 
 #include       "autoconf.h"
 
+#include       "radiusd.h"
+
 #include       <stdlib.h>
 #include       <string.h>
 #include       <ctype.h>
-#include <netinet/in.h>
-
-#if HAVE_MALLOC_H
-#  include <malloc.h>
-#endif
 
 #if HAVE_CRYPT_H
 #  include <crypt.h>
@@ -31,7 +28,6 @@ static const char rcsid[] = "$Id$";
 #  include     <netinet/in.h>
 #endif
 
-#include       "radiusd.h"
 #include       "modules.h"
 
 #if !HAVE_CRYPT_H
index 0c94451..39ec86f 100644 (file)
@@ -11,6 +11,8 @@ static const char rcsid[] =
 
 #include       "autoconf.h"
 
+#include       "radiusd.h"
+
 #include       <sys/socket.h>
 #include       <sys/file.h>
 
@@ -54,7 +56,6 @@ static const char rcsid[] =
 
 #include <assert.h>
 
-#include       "radiusd.h"
 #include       "conffile.h"
 
 #if WITH_SNMP
index 194f4d2..22dcace 100644 (file)
@@ -10,12 +10,10 @@ static const char rcsid[] = "$Id$";
 
 #include       "autoconf.h"
 
-#include       <sys/socket.h>
-#include       <sys/stat.h>
-#include       <netinet/in.h>
-
 #include       "radiusd.h"
 
+#include       <sys/stat.h>
+
 #include       <stdlib.h>
 #include       <string.h>
 #include       <netdb.h>