mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
[LIBUSB]
* 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:
@@ -8,9 +8,11 @@
|
||||
* Johannes Anderwald ([email protected])
|
||||
*/
|
||||
|
||||
#define INITGUID
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
class CHCDController : public IHCDController,
|
||||
public IDispatchIrp
|
||||
{
|
||||
|
||||
@@ -8,10 +8,11 @@
|
||||
* Johannes Anderwald ([email protected])
|
||||
*/
|
||||
|
||||
|
||||
#define INITGUID
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
VOID StatusChangeEndpointCallBack(
|
||||
PVOID Context);
|
||||
|
||||
|
||||
@@ -8,9 +8,11 @@
|
||||
* Johannes Anderwald ([email protected])
|
||||
*/
|
||||
|
||||
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
//
|
||||
// driver verifier
|
||||
//
|
||||
|
||||
@@ -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__ */
|
||||
|
||||
@@ -8,9 +8,11 @@
|
||||
* Johannes Anderwald ([email protected])
|
||||
*/
|
||||
|
||||
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
class CDMAMemoryManager : public IDMAMemoryManager
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -8,9 +8,11 @@
|
||||
* Johannes Anderwald ([email protected])
|
||||
*/
|
||||
|
||||
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
//
|
||||
// driver verifier
|
||||
//
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
* Johannes Anderwald ([email protected])
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
extern "C" {
|
||||
void
|
||||
@@ -23,4 +23,3 @@ extern "C" {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,10 +8,11 @@
|
||||
* Johannes Anderwald ([email protected])
|
||||
*/
|
||||
|
||||
|
||||
#define INITGUID
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
class CUSBDevice : public IUSBDevice
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user