Author: akhaldi
Date: Sat Jan 4 10:12:37 2014
New Revision: 61510
URL:
http://svn.reactos.org/svn/reactos?rev=61510&view=rev
Log:
[IP]
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716
Modified:
trunk/reactos/lib/drivers/ip/network/icmp.c
trunk/reactos/lib/drivers/ip/network/interface.c
trunk/reactos/lib/drivers/ip/network/router.c
trunk/reactos/lib/drivers/ip/precomp.h
Modified: trunk/reactos/lib/drivers/ip/network/icmp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/network/icm…
==============================================================================
--- trunk/reactos/lib/drivers/ip/network/icmp.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/network/icmp.c [iso-8859-1] Sat Jan 4 10:12:37 2014
@@ -9,6 +9,8 @@
*/
#include "precomp.h"
+
+#include <icmp.h>
NTSTATUS ICMPStartup()
{
Modified: trunk/reactos/lib/drivers/ip/network/interface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/network/int…
==============================================================================
--- trunk/reactos/lib/drivers/ip/network/interface.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/network/interface.c [iso-8859-1] Sat Jan 4 10:12:37
2014
@@ -10,6 +10,9 @@
*/
#include "precomp.h"
+
+#include <ntifs.h>
+#include <ipifcons.h>
ULONG NextDefaultAdapter = 0;
Modified: trunk/reactos/lib/drivers/ip/network/router.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/network/rou…
==============================================================================
--- trunk/reactos/lib/drivers/ip/network/router.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/network/router.c [iso-8859-1] Sat Jan 4 10:12:37 2014
@@ -13,7 +13,6 @@
*/
#include "precomp.h"
-
LIST_ENTRY FIBListHead;
KSPIN_LOCK FIBLock;
Modified: trunk/reactos/lib/drivers/ip/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/precomp.h?r…
==============================================================================
--- trunk/reactos/lib/drivers/ip/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/precomp.h [iso-8859-1] Sat Jan 4 10:12:37 2014
@@ -1,36 +1,19 @@
-#include <limits.h>
-#include <ntddk.h>
-#include <ntifs.h>
#include <tags.h>
-#include <tdi.h>
-#include <tdistat.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 <neighbor.h>
#include <route.h>
#include <receive.h>
#include <transmit.h>
-#include <router.h>
-#include <pool.h>
#include <rawip.h>
-#include <icmp.h>
#include <udp.h>
#include <tcp.h>
-#include <arp.h>
#include <tilists.h>
-#include <dispatch.h>
#include <fileobjs.h>
#include <lock.h>
-#include <wait.h>
#include <interface.h>
#include <ports.h>
-#include <ipifcons.h>
#include <chew/chew.h>
-#include <pseh/pseh2.h>