Author: akhaldi
Date: Mon Feb 3 10:45:04 2014
New Revision: 61947
URL:
http://svn.reactos.org/svn/reactos?rev=61947&view=rev
Log:
[FDC]
* 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
Modified:
trunk/reactos/drivers/storage/fdc/fdc/fdc.c
trunk/reactos/drivers/storage/fdc/fdc/fdc.h
trunk/reactos/drivers/storage/fdc/fdc/fdo.c
trunk/reactos/drivers/storage/fdc/fdc/pdo.c
Modified: trunk/reactos/drivers/storage/fdc/fdc/fdc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/fdc/fdc/fd…
==============================================================================
--- trunk/reactos/drivers/storage/fdc/fdc/fdc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/fdc/fdc/fdc.c [iso-8859-1] Mon Feb 3 10:45:04 2014
@@ -12,7 +12,6 @@
#define NDEBUG
#include <debug.h>
-
/* GLOBALS ********************************************************************/
@@ -166,4 +165,4 @@
DriverObject->DriverUnload = FdcDriverUnload;
return STATUS_SUCCESS;
-}
+}
Modified: trunk/reactos/drivers/storage/fdc/fdc/fdc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/fdc/fdc/fd…
==============================================================================
--- trunk/reactos/drivers/storage/fdc/fdc/fdc.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/fdc/fdc/fdc.h [iso-8859-1] Mon Feb 3 10:45:04 2014
@@ -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 @@
FdcPdoPnp(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp);
-
-/* EOF */
Modified: trunk/reactos/drivers/storage/fdc/fdc/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/fdc/fdc/fd…
==============================================================================
--- trunk/reactos/drivers/storage/fdc/fdc/fdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/fdc/fdc/fdo.c [iso-8859-1] Mon Feb 3 10:45:04 2014
@@ -9,6 +9,9 @@
/* INCLUDES *******************************************************************/
#include "fdc.h"
+
+#include <stdio.h>
+#include <debug.h>
/* FUNCTIONS ******************************************************************/
@@ -573,4 +576,4 @@
return Status;
}
-/* EOF */
+/* EOF */
Modified: trunk/reactos/drivers/storage/fdc/fdc/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/fdc/fdc/pd…
==============================================================================
--- trunk/reactos/drivers/storage/fdc/fdc/pdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/fdc/fdc/pdo.c [iso-8859-1] Mon Feb 3 10:45:04 2014
@@ -9,6 +9,8 @@
/* INCLUDES *******************************************************************/
#include "fdc.h"
+
+#include <debug.h>
/* FUNCTIONS ******************************************************************/