[SCSIPORT]

* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61950
This commit is contained in:
Amine Khaldi 2014-02-03 10:49:41 +00:00
parent 5810838528
commit f7f5635283
4 changed files with 13 additions and 18 deletions

View file

@ -1,10 +1 @@
#include <ntddk.h> #include <wdm.h>
#include <srb.h>
#include <scsi.h>
#include <ntddscsi.h>
#include <ntddstor.h>
#include <ntdddisk.h>
#include <stdio.h>
#include <stdarg.h>
#include "scsiport_int.h"

View file

@ -29,17 +29,21 @@
#include "precomp.h" #include "precomp.h"
#ifndef NDEBUG #include <ntddk.h>
#include <stdio.h>
#include <scsi.h>
#include <ntddscsi.h>
#include <ntdddisk.h>
#define NDEBUG #define NDEBUG
#endif
#include <debug.h> #include <debug.h>
#include "scsiport_int.h"
ULONG InternalDebugLevel = 0x00; ULONG InternalDebugLevel = 0x00;
#undef ScsiPortMoveMemory #undef ScsiPortMoveMemory
/* TYPES *********************************************************************/
/* GLOBALS *******************************************************************/ /* GLOBALS *******************************************************************/
static BOOLEAN static BOOLEAN
@ -6407,5 +6411,4 @@ ScsiPortConvertPhysicalAddressToUlong(IN SCSI_PHYSICAL_ADDRESS Address)
return(Address.u.LowPart); return(Address.u.LowPart);
} }
/* EOF */ /* EOF */

View file

@ -5,6 +5,8 @@
* An enumeration containing the states in the timer DFA * An enumeration containing the states in the timer DFA
*/ */
#pragma once
#define VERSION "0.0.3" #define VERSION "0.0.3"
#ifndef PAGE_ROUND_UP #ifndef PAGE_ROUND_UP

View file

@ -6,10 +6,10 @@
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org) * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
*/ */
/* INCLUDES *****************************************************************/
#include "precomp.h" #include "precomp.h"
#include <srb.h>
#define NDEBUG #define NDEBUG
#include <debug.h> #include <debug.h>
@ -270,4 +270,3 @@ ScsiPortWriteRegisterUlong(
{ {
WRITE_REGISTER_ULONG(Register, Value); WRITE_REGISTER_ULONG(Register, Value);
} }