mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:42:59 +00:00
Stop abusing <debug.h> by including SDK first
svn path=/trunk/; revision=31215
This commit is contained in:
parent
1310ef8510
commit
0ae8ce587f
15 changed files with 25 additions and 25 deletions
|
@ -9,9 +9,6 @@
|
||||||
|
|
||||||
/* INCLUDES *****************************************************************/
|
/* INCLUDES *****************************************************************/
|
||||||
|
|
||||||
//#define NDEBUG
|
|
||||||
#include <debug.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
@ -19,6 +16,9 @@
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
#include <fmifs/fmifs.h>
|
#include <fmifs/fmifs.h>
|
||||||
|
|
||||||
|
//#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
/* DEFINES ******************************************************************/
|
/* DEFINES ******************************************************************/
|
||||||
|
|
||||||
#define FS_ATTRIBUTE_BUFFER_SIZE (MAX_PATH * sizeof(WCHAR) + sizeof(FILE_FS_ATTRIBUTE_INFORMATION))
|
#define FS_ATTRIBUTE_BUFFER_SIZE (MAX_PATH * sizeof(WCHAR) + sizeof(FILE_FS_ATTRIBUTE_INFORMATION))
|
||||||
|
|
|
@ -7,11 +7,11 @@
|
||||||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "desk.h"
|
||||||
|
|
||||||
//#define NDEBUG
|
//#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include "desk.h"
|
|
||||||
|
|
||||||
DWORD WINAPI
|
DWORD WINAPI
|
||||||
DisplayClassInstaller(
|
DisplayClassInstaller(
|
||||||
IN DI_FUNCTION InstallFunction,
|
IN DI_FUNCTION InstallFunction,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <debug.h>
|
|
||||||
#include <ntifs.h>
|
#include <ntifs.h>
|
||||||
#include <ntdddisk.h>
|
#include <ntdddisk.h>
|
||||||
#include <reactos/helper.h>
|
#include <reactos/helper.h>
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#include <ccros.h>
|
#include <ccros.h>
|
||||||
|
|
|
@ -38,9 +38,9 @@
|
||||||
* that my lock choice is a spin lock.
|
* that my lock choice is a spin lock.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <ntddk.h>
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <ntddk.h>
|
|
||||||
|
|
||||||
#include "floppy.h"
|
#include "floppy.h"
|
||||||
#include "csqrtns.h"
|
#include "csqrtns.h"
|
||||||
|
|
|
@ -40,9 +40,9 @@
|
||||||
* TODO: Media detection based on sector 1
|
* TODO: Media detection based on sector 1
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <ntddk.h>
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <ntddk.h>
|
|
||||||
|
|
||||||
#include "floppy.h"
|
#include "floppy.h"
|
||||||
#include "hardware.h"
|
#include "hardware.h"
|
||||||
|
|
|
@ -48,9 +48,9 @@
|
||||||
* TODO: Figure out the right delays in Send_Byte and Get_Byte
|
* TODO: Figure out the right delays in Send_Byte and Get_Byte
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <ntddk.h>
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <ntddk.h>
|
|
||||||
|
|
||||||
#include "floppy.h"
|
#include "floppy.h"
|
||||||
#include "hardware.h"
|
#include "hardware.h"
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
* TODO: Implement format
|
* TODO: Implement format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <ntddk.h>
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <ntddk.h>
|
|
||||||
|
|
||||||
#include "floppy.h"
|
#include "floppy.h"
|
||||||
#include "hardware.h"
|
#include "hardware.h"
|
||||||
|
|
|
@ -52,9 +52,9 @@
|
||||||
* TODO: Figure out specify timings
|
* TODO: Figure out specify timings
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <ntddk.h>
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
#include <ntddk.h>
|
|
||||||
|
|
||||||
#include "floppy.h"
|
#include "floppy.h"
|
||||||
#include "csqrtns.h"
|
#include "csqrtns.h"
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "pciide.h"
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include "pciide.h"
|
|
||||||
|
|
||||||
IDE_CHANNEL_STATE NTAPI
|
IDE_CHANNEL_STATE NTAPI
|
||||||
PciIdeChannelEnabled(
|
PciIdeChannelEnabled(
|
||||||
IN PVOID DeviceExtension,
|
IN PVOID DeviceExtension,
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "pciidex.h"
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include "pciidex.h"
|
|
||||||
|
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
GetBusInterface(
|
GetBusInterface(
|
||||||
IN PFDO_DEVICE_EXTENSION DeviceExtension)
|
IN PFDO_DEVICE_EXTENSION DeviceExtension)
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define NDEBUG
|
|
||||||
#include <debug.h>
|
|
||||||
|
|
||||||
#define INITGUID
|
#define INITGUID
|
||||||
#include "pciidex.h"
|
#include "pciidex.h"
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
static DRIVER_DISPATCH PciIdeXForwardOrIgnore;
|
static DRIVER_DISPATCH PciIdeXForwardOrIgnore;
|
||||||
static NTSTATUS NTAPI
|
static NTSTATUS NTAPI
|
||||||
PciIdeXForwardOrIgnore(
|
PciIdeXForwardOrIgnore(
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "pciidex.h"
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include "pciidex.h"
|
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
PciIdeXGenericCompletion(
|
PciIdeXGenericCompletion(
|
||||||
IN PDEVICE_OBJECT DeviceObject,
|
IN PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "pciidex.h"
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include "pciidex.h"
|
|
||||||
|
|
||||||
NTSTATUS NTAPI
|
NTSTATUS NTAPI
|
||||||
DriverEntry(
|
DriverEntry(
|
||||||
IN PDRIVER_OBJECT DriverObject,
|
IN PDRIVER_OBJECT DriverObject,
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "pciidex.h"
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
#include "pciidex.h"
|
|
||||||
|
|
||||||
static NTSTATUS
|
static NTSTATUS
|
||||||
PciIdeXPdoQueryId(
|
PciIdeXPdoQueryId(
|
||||||
IN PDEVICE_OBJECT DeviceObject,
|
IN PDEVICE_OBJECT DeviceObject,
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
#define PUT_GUIDS_HERE
|
#define PUT_GUIDS_HERE
|
||||||
|
|
||||||
#define INITGUID
|
#define INITGUID
|
||||||
#include <debug.h>
|
|
||||||
#include <ntddk.h>
|
#include <ntddk.h>
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
#include <portcls.h>
|
#include <portcls.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue