* 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

View file

@ -8,9 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#define INITGUID
#include "usbhub.h"
#define NDEBUG
#include <debug.h>
NTSTATUS
QueryStatusChangeEndpoint(
IN PDEVICE_OBJECT DeviceObject);

View file

@ -7,8 +7,12 @@
* Michael Martin (michael.martin@reactos.org)
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#include "usbhub.h"
#define NDEBUG
#include <debug.h>
NTSTATUS
USBHUB_ParentFDOStartDevice(
IN PDEVICE_OBJECT DeviceObject,

View file

@ -7,8 +7,11 @@
* Michael Martin (michael.martin@reactos.org)
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#include "usbhub.h"
#include <stdarg.h>
#define NDEBUG
#include <debug.h>
VOID
DumpDeviceDescriptor(PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)

View file

@ -11,6 +11,9 @@
#include "usbhub.h"
#define NDEBUG
#include <debug.h>
#define IO_METHOD_FROM_CTL_CODE(ctlCode) (ctlCode&0x00000003)
NTSTATUS

View file

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

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);