* Do not include debug.h into the main header.
* Cleanup the main header.
* Improve the GUIDs situation.
CORE-7716

svn path=/trunk/; revision=61496
This commit is contained in:
Amine Khaldi 2014-01-03 10:38:06 +00:00
parent 2e1e78c234
commit 35fbe8f7b5
8 changed files with 21 additions and 18 deletions

View file

@ -8,9 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#define INITGUID
#include "libusb.h"
#define NDEBUG
#include <debug.h>
class CHCDController : public IHCDController,
public IDispatchIrp
{

View file

@ -8,10 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#define INITGUID
#include "libusb.h"
#define NDEBUG
#include <debug.h>
VOID StatusChangeEndpointCallBack(
PVOID Context);

View file

@ -8,9 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#include "libusb.h"
#define NDEBUG
#include <debug.h>
//
// driver verifier
//

View file

@ -2,11 +2,8 @@
#define LIBUSB_H__
#include <ntddk.h>
#define NDEBUG
#include <debug.h>
#include <hubbusif.h>
#include <usbbusif.h>
#include <usbioctl.h>
extern "C"
{
@ -17,7 +14,6 @@ extern "C"
// FIXME:
// #include <usbprotocoldefs.h>
//
#include <usb.h>
#include <stdio.h>
#include <wdmguid.h>
@ -26,7 +22,6 @@ extern "C"
// the following includes are required to get kcom to compile
//
#include <portcls.h>
#include <dmusicks.h>
#include <kcom.h>
#include "common_interfaces.h"
@ -99,5 +94,4 @@ NTSTATUS NTAPI USBLIB_Dispatch(PDEVICE_OBJECT DeviceObject, PIRP Irp);
}
#endif
#endif /* LIBUSB_H__ */

View file

@ -8,9 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#include "libusb.h"
#define NDEBUG
#include <debug.h>
class CDMAMemoryManager : public IDMAMemoryManager
{
public:

View file

@ -8,9 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#include "libusb.h"
#define NDEBUG
#include <debug.h>
//
// driver verifier
//

View file

@ -8,10 +8,10 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#include "libusb.h"
#define NDEBUG
#include <debug.h>
extern "C" {
void
@ -23,4 +23,3 @@ extern "C" {
}
}

View file

@ -8,10 +8,11 @@
* Johannes Anderwald (johannes.anderwald@reactos.org)
*/
#define INITGUID
#include "libusb.h"
#define NDEBUG
#include <debug.h>
class CUSBDevice : public IUSBDevice
{
public: