mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +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:
parent
2e1e78c234
commit
35fbe8f7b5
8 changed files with 21 additions and 18 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -8,10 +8,11 @@
|
|||
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||
*/
|
||||
|
||||
|
||||
#define INITGUID
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
VOID StatusChangeEndpointCallBack(
|
||||
PVOID Context);
|
||||
|
||||
|
|
|
@ -8,9 +8,11 @@
|
|||
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||
*/
|
||||
|
||||
|
||||
#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 (johannes.anderwald@reactos.org)
|
||||
*/
|
||||
|
||||
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
class CDMAMemoryManager : public IDMAMemoryManager
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -8,9 +8,11 @@
|
|||
* Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||
*/
|
||||
|
||||
|
||||
#include "libusb.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
//
|
||||
// driver verifier
|
||||
//
|
||||
|
|
|
@ -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" {
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue