[PCIIDEX]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 3 Feb 2014 10:48:20 +0000 (10:48 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 3 Feb 2014 10:48:20 +0000 (10:48 +0000)
* Remove one time inclusions from the main header and put them back where they belong.
* Improve the GUIDs situation.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61949

reactos/drivers/storage/ide/pciidex/fdo.c
reactos/drivers/storage/ide/pciidex/miniport.c
reactos/drivers/storage/ide/pciidex/pciidex.h
reactos/drivers/storage/ide/pciidex/pdo.c

index 497842f..0d6cb3b 100644 (file)
@@ -11,6 +11,9 @@
 #define NDEBUG
 #include <debug.h>
 
+#include <initguid.h>
+#include <wdmguid.h>
+
 static NTSTATUS
 GetBusInterface(
        IN PFDO_DEVICE_EXTENSION DeviceExtension)
index 1eed359..d26300f 100644 (file)
@@ -6,7 +6,6 @@
  * PROGRAMMERS:     HervĂ© Poussineau (hpoussin@reactos.org)
  */
 
-#define INITGUID
 #include "pciidex.h"
 
 #define NDEBUG
index f2c2836..88db458 100644 (file)
@@ -1,8 +1,5 @@
 #include <ntifs.h>
-#include <ntddk.h>
 #include <ide.h>
-#include <wdmguid.h>
-#include <stdio.h>
 
 typedef struct _PCIIDEX_DRIVER_EXTENSION
 {
index f79b00a..af41e5f 100644 (file)
@@ -8,6 +8,8 @@
 
 #include "pciidex.h"
 
+#include <stdio.h>
+
 #define NDEBUG
 #include <debug.h>