* Do not include debug.h into the main header.
* Move some inclusions to the main header.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716

svn path=/trunk/; revision=61330
This commit is contained in:
Amine Khaldi
2013-12-21 19:15:13 +00:00
parent 95313a5fb0
commit fa1dfebfeb
6 changed files with 22 additions and 5 deletions
+3 -1
View File
@@ -8,9 +8,11 @@
* Johannes Anderwald ([email protected])
*/
#define INITGUID
#include "usbhub.h"
#define NDEBUG
#include <debug.h>
NTSTATUS
QueryStatusChangeEndpoint(
IN PDEVICE_OBJECT DeviceObject);
+4
View File
@@ -7,8 +7,12 @@
* Michael Martin ([email protected])
* Johannes Anderwald ([email protected])
*/
#include "usbhub.h"
#define NDEBUG
#include <debug.h>
NTSTATUS
USBHUB_ParentFDOStartDevice(
IN PDEVICE_OBJECT DeviceObject,
+4 -1
View File
@@ -7,8 +7,11 @@
* Michael Martin ([email protected])
* Johannes Anderwald ([email protected])
*/
#include "usbhub.h"
#include <stdarg.h>
#define NDEBUG
#include <debug.h>
VOID
DumpDeviceDescriptor(PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)
+3
View File
@@ -11,6 +11,9 @@
#include "usbhub.h"
#define NDEBUG
#include <debug.h>
#define IO_METHOD_FROM_CTL_CODE(ctlCode) (ctlCode&0x00000003)
NTSTATUS
+3
View File
@@ -11,6 +11,9 @@
#include "usbhub.h"
#define NDEBUG
#include <debug.h>
NTSTATUS NTAPI
USBHUB_Create(
IN PDEVICE_OBJECT DeviceObject,
+5 -3
View File
@@ -1,6 +1,7 @@
#pragma once
#define NDEBUG
#define INITGUID
#include <ntifs.h>
#include <ntddk.h>
#include <wdmguid.h>
@@ -8,9 +9,10 @@
#include <usbbusif.h>
#include <usbioctl.h>
#include <usb.h>
#include <stdarg.h>
#include <stdio.h>
#include <usbdlib.h>
#include <debug.h>
//BROKEN: #include <usbprotocoldefs.h>
#include <pseh/pseh2.h>
@@ -193,4 +195,4 @@ GetPortStatusAndChange(
NTSTATUS
USBHUB_ParentFDOStartDevice(
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp);
IN PIRP Irp);