[TCPIP]
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 2 Jan 2014 13:53:18 +0000 (13:53 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 2 Jan 2014 13:53:18 +0000 (13:53 +0000)
* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716

svn path=/trunk/; revision=61490

reactos/drivers/network/tcpip/datalink/lan.c
reactos/drivers/network/tcpip/include/precomp.h
reactos/drivers/network/tcpip/tcpip/dispatch.c
reactos/drivers/network/tcpip/tcpip/iinfo.c
reactos/drivers/network/tcpip/tcpip/main.c

index 2f0acbc..b63e947 100644 (file)
 
 #include "precomp.h"
 
 
 #include "precomp.h"
 
+#include <ntifs.h>
+#include <receive.h>
+#include <wait.h>
+
 UINT TransferDataCalled = 0;
 UINT TransferDataCompleteCalled = 0;
 
 UINT TransferDataCalled = 0;
 UINT TransferDataCompleteCalled = 0;
 
index bd3ef37..6d830f7 100644 (file)
@@ -1,36 +1,15 @@
-#include <limits.h>
-#include <ntddk.h>
-#include <ntifs.h>
 #include <tags.h>
 #include <tags.h>
-#include <tdi.h>
-#include <tdistat.h>
 #include <tcpip.h>
 #include <loopback.h>
 #include <tcpip.h>
 #include <loopback.h>
-#include <ip.h>
-#include <lan.h>
-#include <datagram.h>
-#include <checksum.h>
-#include <address.h>
 #include <routines.h>
 #include <info.h>
 #include <routines.h>
 #include <info.h>
-#include <neighbor.h>
 #include <route.h>
 #include <route.h>
-#include <receive.h>
 #include <transmit.h>
 #include <transmit.h>
-#include <router.h>
-#include <pool.h>
 #include <rawip.h>
 #include <icmp.h>
 #include <udp.h>
 #include <tcp.h>
 #include <rawip.h>
 #include <icmp.h>
 #include <udp.h>
 #include <tcp.h>
-#include <arp.h>
 #include <tilists.h>
 #include <tilists.h>
-#include <dispatch.h>
-#include <fileobjs.h>
 #include <lock.h>
 #include <lock.h>
-#include <wait.h>
 #include <interface.h>
 #include <interface.h>
-#include <ports.h>
-#include <ipifcons.h>
 #include <chew/chew.h>
 #include <chew/chew.h>
-#include <pseh/pseh2.h>
\ No newline at end of file
index 989b631..94d127d 100644 (file)
@@ -11,6 +11,9 @@
 
 #include "precomp.h"
 
 
 #include "precomp.h"
 
+#include <datagram.h>
+#include <pseh/pseh2.h>
+
 NTSTATUS IRPFinish( PIRP Irp, NTSTATUS Status ) {
     KIRQL OldIrql;
 
 NTSTATUS IRPFinish( PIRP Irp, NTSTATUS Status ) {
     KIRQL OldIrql;
 
index 2d1b84a..d3984aa 100644 (file)
@@ -10,6 +10,8 @@
 
 #include "precomp.h"
 
 
 #include "precomp.h"
 
+#include <ipifcons.h>
+
 TDI_STATUS InfoTdiQueryGetInterfaceMIB(TDIEntityID ID,
                                       PIP_INTERFACE Interface,
                                       PNDIS_BUFFER Buffer,
 TDI_STATUS InfoTdiQueryGetInterfaceMIB(TDIEntityID ID,
                                       PIP_INTERFACE Interface,
                                       PNDIS_BUFFER Buffer,
index a1e847a..58f7fe8 100644 (file)
@@ -7,8 +7,12 @@
  * REVISIONS:
  *   CSH 01/08-2000 Created
  */
  * REVISIONS:
  *   CSH 01/08-2000 Created
  */
+
 #include "precomp.h"
 
 #include "precomp.h"
 
+#include <dispatch.h>
+#include <fileobjs.h>
+
 PDEVICE_OBJECT TCPDeviceObject   = NULL;
 PDEVICE_OBJECT UDPDeviceObject   = NULL;
 PDEVICE_OBJECT IPDeviceObject    = NULL;
 PDEVICE_OBJECT TCPDeviceObject   = NULL;
 PDEVICE_OBJECT UDPDeviceObject   = NULL;
 PDEVICE_OBJECT IPDeviceObject    = NULL;