Stop abusing <debug.h> by including SDK first

svn path=/trunk/; revision=31215
This commit is contained in:
Hervé Poussineau 2007-12-14 15:37:21 +00:00
parent 1310ef8510
commit 0ae8ce587f
15 changed files with 25 additions and 25 deletions

View file

@ -9,9 +9,6 @@
/* INCLUDES *****************************************************************/
//#define NDEBUG
#include <debug.h>
#include <stdio.h>
#define WIN32_NO_STATUS
#include <windows.h>
@ -19,6 +16,9 @@
#include <ndk/ntndk.h>
#include <fmifs/fmifs.h>
//#define NDEBUG
#include <debug.h>
/* DEFINES ******************************************************************/
#define FS_ATTRIBUTE_BUFFER_SIZE (MAX_PATH * sizeof(WCHAR) + sizeof(FILE_FS_ATTRIBUTE_INFORMATION))

View file

@ -7,11 +7,11 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
*/
#include "desk.h"
//#define NDEBUG
#include <debug.h>
#include "desk.h"
DWORD WINAPI
DisplayClassInstaller(
IN DI_FUNCTION InstallFunction,

View file

@ -1,7 +1,7 @@
#include <debug.h>
#include <ntifs.h>
#include <ntdddisk.h>
#include <reactos/helper.h>
#include <debug.h>
#ifdef __GNUC__
#include <ccros.h>

View file

@ -38,9 +38,9 @@
* that my lock choice is a spin lock.
*/
#include <ntddk.h>
#define NDEBUG
#include <debug.h>
#include <ntddk.h>
#include "floppy.h"
#include "csqrtns.h"

View file

@ -40,9 +40,9 @@
* TODO: Media detection based on sector 1
*/
#include <ntddk.h>
#define NDEBUG
#include <debug.h>
#include <ntddk.h>
#include "floppy.h"
#include "hardware.h"

View file

@ -48,9 +48,9 @@
* TODO: Figure out the right delays in Send_Byte and Get_Byte
*/
#include <ntddk.h>
#define NDEBUG
#include <debug.h>
#include <ntddk.h>
#include "floppy.h"
#include "hardware.h"

View file

@ -31,9 +31,9 @@
* TODO: Implement format
*/
#include <ntddk.h>
#define NDEBUG
#include <debug.h>
#include <ntddk.h>
#include "floppy.h"
#include "hardware.h"

View file

@ -52,9 +52,9 @@
* TODO: Figure out specify timings
*/
#include <ntddk.h>
#define NDEBUG
#include <debug.h>
#include <ntddk.h>
#include "floppy.h"
#include "csqrtns.h"

View file

@ -6,11 +6,11 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
*/
#include "pciide.h"
#define NDEBUG
#include <debug.h>
#include "pciide.h"
IDE_CHANNEL_STATE NTAPI
PciIdeChannelEnabled(
IN PVOID DeviceExtension,

View file

@ -6,11 +6,11 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
*/
#include "pciidex.h"
#define NDEBUG
#include <debug.h>
#include "pciidex.h"
static NTSTATUS
GetBusInterface(
IN PFDO_DEVICE_EXTENSION DeviceExtension)

View file

@ -6,12 +6,12 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
*/
#define NDEBUG
#include <debug.h>
#define INITGUID
#include "pciidex.h"
#define NDEBUG
#include <debug.h>
static DRIVER_DISPATCH PciIdeXForwardOrIgnore;
static NTSTATUS NTAPI
PciIdeXForwardOrIgnore(

View file

@ -6,11 +6,11 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
*/
#include "pciidex.h"
#define NDEBUG
#include <debug.h>
#include "pciidex.h"
NTSTATUS NTAPI
PciIdeXGenericCompletion(
IN PDEVICE_OBJECT DeviceObject,

View file

@ -6,11 +6,11 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
*/
#include "pciidex.h"
#define NDEBUG
#include <debug.h>
#include "pciidex.h"
NTSTATUS NTAPI
DriverEntry(
IN PDRIVER_OBJECT DriverObject,

View file

@ -6,11 +6,11 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
*/
#include "pciidex.h"
#define NDEBUG
#include <debug.h>
#include "pciidex.h"
static NTSTATUS
PciIdeXPdoQueryId(
IN PDEVICE_OBJECT DeviceObject,

View file

@ -15,8 +15,8 @@
#define PUT_GUIDS_HERE
#define INITGUID
#include <debug.h>
#include <ntddk.h>
#include <debug.h>
#include <portcls.h>