[USBSTOR]

* Do not include debug.h into the main header.
CORE-7716

svn path=/trunk/; revision=61348
This commit is contained in:
Amine Khaldi 2013-12-23 14:50:17 +00:00
parent 90c20950e8
commit 2f71f0d785
10 changed files with 27 additions and 3 deletions

View file

@ -11,6 +11,9 @@
#include "usbstor.h" #include "usbstor.h"
#define NDEBUG
#include <debug.h>
NTSTATUS NTSTATUS
NTAPI NTAPI
USBSTOR_GetDescriptor( USBSTOR_GetDescriptor(

View file

@ -11,6 +11,9 @@
#include "usbstor.h" #include "usbstor.h"
#define NDEBUG
#include <debug.h>
NTSTATUS NTSTATUS
USBSTOR_HandleInternalDeviceControl( USBSTOR_HandleInternalDeviceControl(
IN PDEVICE_OBJECT DeviceObject, IN PDEVICE_OBJECT DeviceObject,

View file

@ -11,6 +11,9 @@
#include "usbstor.h" #include "usbstor.h"
#define NDEBUG
#include <debug.h>
NTSTATUS NTSTATUS
USBSTOR_GetEndpointStatus( USBSTOR_GetEndpointStatus(
IN PDEVICE_OBJECT DeviceObject, IN PDEVICE_OBJECT DeviceObject,

View file

@ -11,6 +11,9 @@
#include "usbstor.h" #include "usbstor.h"
#define NDEBUG
#include <debug.h>
VOID VOID
USBSTOR_DumpDeviceDescriptor(PUSB_DEVICE_DESCRIPTOR DeviceDescriptor) USBSTOR_DumpDeviceDescriptor(PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)
{ {

View file

@ -11,6 +11,9 @@
#include "usbstor.h" #include "usbstor.h"
#define NDEBUG
#include <debug.h>
// //
// driver verifier // driver verifier
// //

View file

@ -11,6 +11,9 @@
#include "usbstor.h" #include "usbstor.h"
#define NDEBUG
#include <debug.h>
LPCSTR LPCSTR
USBSTOR_GetDeviceType( USBSTOR_GetDeviceType(
IN PUFI_INQUIRY_RESPONSE InquiryData, IN PUFI_INQUIRY_RESPONSE InquiryData,

View file

@ -11,6 +11,9 @@
#include "usbstor.h" #include "usbstor.h"
#define NDEBUG
#include <debug.h>
VOID VOID
USBSTOR_QueueInitialize( USBSTOR_QueueInitialize(
PFDO_DEVICE_EXTENSION FDODeviceExtension) PFDO_DEVICE_EXTENSION FDODeviceExtension)

View file

@ -11,6 +11,9 @@
#include "usbstor.h" #include "usbstor.h"
#define NDEBUG
#include <debug.h>
NTSTATUS NTSTATUS
USBSTOR_BuildCBW( USBSTOR_BuildCBW(
IN ULONG Tag, IN ULONG Tag,

View file

@ -10,10 +10,12 @@
/* INCLUDES ******************************************************************/ /* INCLUDES ******************************************************************/
#define NDEBUG
#define INITGUID #define INITGUID
#include "usbstor.h" #include "usbstor.h"
#define NDEBUG
#include <debug.h>
/* PUBLIC AND PRIVATE FUNCTIONS **********************************************/ /* PUBLIC AND PRIVATE FUNCTIONS **********************************************/
NTSTATUS NTSTATUS

View file

@ -2,8 +2,6 @@
#pragma once #pragma once
#include <ntddk.h> #include <ntddk.h>
#define NDEBUG
#include <debug.h>
#include <usbdi.h> #include <usbdi.h>
#include <hubbusif.h> #include <hubbusif.h>
#include <usbbusif.h> #include <usbbusif.h>