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

svn path=/trunk/; revision=61945

reactos/drivers/storage/class/disk_new/data.c
reactos/drivers/storage/class/disk_new/disk.c
reactos/drivers/storage/class/disk_new/disk.h
reactos/drivers/storage/class/disk_new/diskwmi.c
reactos/drivers/storage/class/disk_new/enum.c
reactos/drivers/storage/class/disk_new/geometry.c

index c2fab4f..1b555bf 100644 (file)
@@ -79,4 +79,3 @@ DISK_MEDIA_TYPES_LIST const DiskMediaTypes[] = {
 #ifdef ALLOC_DATA_PRAGMA
 #pragma data_seg()
 #endif
-
index cc0cd95..dba37bd 100644 (file)
@@ -26,9 +26,8 @@ Revision History:
 // Now instantiate the GUIDs
 //
 
-#include "initguid.h"
-#include "ntddstor.h"
-#include "ioevent.h"
+#include <initguid.h>
+#include <ioevent.h>
 
 NTSTATUS
 NTAPI
index 55eefc0..d7bc16a 100644 (file)
@@ -19,22 +19,21 @@ Notes:
 Revision History:
 
 --*/
+
 #undef _WIN32_WINNT
 #define _WIN32_WINNT 0x0501
 #define NTDDI_VERSION NTDDI_WINXP
 
-#include "ntddk.h"
-#include "scsi.h"
+#include <ntddk.h>
 #include <wmidata.h>
-#include "classpnp.h"
+#include <classpnp.h>
+
 #if defined(JAPAN) && defined(_X86_)
-#include "machine.h"
+#include <machine.h>
 #endif
 
-#include <wmistr.h>
-
 #if defined(_X86_)
-#include "mountdev.h"
+#include <mountdev.h>
 #endif
 
 #ifdef ExAllocatePool
@@ -976,4 +975,3 @@ DiskReadSignature(
 
 
 #define DiskHashGuid(Guid) (((PULONG) &Guid)[0] ^ ((PULONG) &Guid)[0] ^ ((PULONG) &Guid)[0] ^ ((PULONG) &Guid)[0])
-
index 115793d..28ec458 100644 (file)
@@ -22,6 +22,8 @@ Revision History:
 
 #include "disk.h"
 
+#include <wmistr.h>
+
 NTSTATUS
 NTAPI
 DiskSendFailurePredictIoctl(
index b22fe80..5c6ee6c 100644 (file)
@@ -1244,4 +1244,3 @@ DiskReleasePartitioningLock(
     KeSetEvent(&(diskData->PartitioningEvent), IO_NO_INCREMENT, FALSE);
     return;
 }
-
index 6e1b47d..53df096 100644 (file)
@@ -21,9 +21,7 @@ Revision History:
 
 --*/
 
-
 #include "disk.h"
-#include "ntddstor.h"
 
 #if defined (_X86_)