Author: akhaldi
Date: Mon Dec 23 14:50:17 2013
New Revision: 61348
URL:
http://svn.reactos.org/svn/reactos?rev=61348&view=rev
Log:
[USBSTOR]
* Do not include debug.h into the main header.
CORE-7716
Modified:
trunk/reactos/drivers/usb/usbstor/descriptor.c
trunk/reactos/drivers/usb/usbstor/disk.c
trunk/reactos/drivers/usb/usbstor/error.c
trunk/reactos/drivers/usb/usbstor/fdo.c
trunk/reactos/drivers/usb/usbstor/misc.c
trunk/reactos/drivers/usb/usbstor/pdo.c
trunk/reactos/drivers/usb/usbstor/queue.c
trunk/reactos/drivers/usb/usbstor/scsi.c
trunk/reactos/drivers/usb/usbstor/usbstor.c
trunk/reactos/drivers/usb/usbstor/usbstor.h
Modified: trunk/reactos/drivers/usb/usbstor/descriptor.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/descri…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/descriptor.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/descriptor.c [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -10,6 +10,9 @@
*/
#include "usbstor.h"
+
+#define NDEBUG
+#include <debug.h>
NTSTATUS
NTAPI
Modified: trunk/reactos/drivers/usb/usbstor/disk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/disk.c…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/disk.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/disk.c [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -10,6 +10,9 @@
*/
#include "usbstor.h"
+
+#define NDEBUG
+#include <debug.h>
NTSTATUS
USBSTOR_HandleInternalDeviceControl(
Modified: trunk/reactos/drivers/usb/usbstor/error.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/error.…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/error.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/error.c [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -11,6 +11,9 @@
#include "usbstor.h"
+#define NDEBUG
+#include <debug.h>
+
NTSTATUS
USBSTOR_GetEndpointStatus(
IN PDEVICE_OBJECT DeviceObject,
Modified: trunk/reactos/drivers/usb/usbstor/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/fdo.c?…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/fdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/fdo.c [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -10,6 +10,9 @@
*/
#include "usbstor.h"
+
+#define NDEBUG
+#include <debug.h>
VOID
USBSTOR_DumpDeviceDescriptor(PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)
Modified: trunk/reactos/drivers/usb/usbstor/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/misc.c…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/misc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/misc.c [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -10,6 +10,9 @@
*/
#include "usbstor.h"
+
+#define NDEBUG
+#include <debug.h>
//
// driver verifier
Modified: trunk/reactos/drivers/usb/usbstor/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/pdo.c?…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/pdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/pdo.c [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -10,6 +10,9 @@
*/
#include "usbstor.h"
+
+#define NDEBUG
+#include <debug.h>
LPCSTR
USBSTOR_GetDeviceType(
Modified: trunk/reactos/drivers/usb/usbstor/queue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/queue.…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/queue.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/queue.c [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -11,6 +11,9 @@
#include "usbstor.h"
+#define NDEBUG
+#include <debug.h>
+
VOID
USBSTOR_QueueInitialize(
PFDO_DEVICE_EXTENSION FDODeviceExtension)
Modified: trunk/reactos/drivers/usb/usbstor/scsi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/scsi.c…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/scsi.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/scsi.c [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -10,6 +10,9 @@
*/
#include "usbstor.h"
+
+#define NDEBUG
+#include <debug.h>
NTSTATUS
USBSTOR_BuildCBW(
Modified: trunk/reactos/drivers/usb/usbstor/usbstor.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/usbsto…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/usbstor.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/usbstor.c [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -10,9 +10,11 @@
/* INCLUDES ******************************************************************/
-#define NDEBUG
#define INITGUID
#include "usbstor.h"
+
+#define NDEBUG
+#include <debug.h>
/* PUBLIC AND PRIVATE FUNCTIONS **********************************************/
Modified: trunk/reactos/drivers/usb/usbstor/usbstor.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/usbsto…
==============================================================================
--- trunk/reactos/drivers/usb/usbstor/usbstor.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbstor/usbstor.h [iso-8859-1] Mon Dec 23 14:50:17 2013
@@ -2,8 +2,6 @@
#pragma once
#include <ntddk.h>
-#define NDEBUG
-#include <debug.h>
#include <usbdi.h>
#include <hubbusif.h>
#include <usbbusif.h>