[FDC]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 3 Feb 2014 10:45:04 +0000 (10:45 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 3 Feb 2014 10:45:04 +0000 (10:45 +0000)
* Do not include debug.h into the main header.
* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61947

reactos/drivers/storage/fdc/fdc/fdc.c
reactos/drivers/storage/fdc/fdc/fdc.h
reactos/drivers/storage/fdc/fdc/fdo.c
reactos/drivers/storage/fdc/fdc/pdo.c

index cf07a14..493fac8 100644 (file)
@@ -13,7 +13,6 @@
 #define NDEBUG
 #include <debug.h>
 
-
 /* GLOBALS ********************************************************************/
 
 ULONG ControllerCount = 0;
@@ -166,4 +165,4 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
     DriverObject->DriverUnload = FdcDriverUnload;
 
     return STATUS_SUCCESS;
-}
\ No newline at end of file
+}
index e63099c..4a2ed0c 100644 (file)
@@ -7,9 +7,6 @@
  */
 
 #include <ntifs.h>
-#include <ntddk.h>
-#include <stdio.h>
-#include <debug.h>
 
 #define MAX_DEVICE_NAME 255
 #define MAX_ARC_PATH_LEN 255
@@ -124,5 +121,3 @@ NTAPI
 FdcPdoPnp(
     IN PDEVICE_OBJECT DeviceObject,
     IN PIRP Irp);
-
-/* EOF */
index 0872417..869fe6c 100644 (file)
@@ -10,6 +10,9 @@
 
 #include "fdc.h"
 
+#include <stdio.h>
+#include <debug.h>
+
 /* FUNCTIONS ******************************************************************/
 
 static IO_COMPLETION_ROUTINE ForwardIrpAndWaitCompletion;
@@ -573,4 +576,4 @@ FdcFdoPnp(
     return Status;
 }
 
-/* EOF */
\ No newline at end of file
+/* EOF */
index 8b3d3d5..c24c24d 100644 (file)
@@ -10,6 +10,8 @@
 
 #include "fdc.h"
 
+#include <debug.h>
+
 /* FUNCTIONS ******************************************************************/
 
 static