Author: akhaldi
Date: Thu Jan 2 14:25:01 2014
New Revision: 61492
URL:
http://svn.reactos.org/svn/reactos?rev=61492&view=rev
Log:
[USBCCGP]
* Remove some inclusions from the main header.
* Improve the GUIDs situation.
CORE-7716
Added:
trunk/reactos/drivers/usb/usbccgp/guid.c (with props)
Modified:
trunk/reactos/drivers/usb/usbccgp/CMakeLists.txt
trunk/reactos/drivers/usb/usbccgp/usbccgp.h
Modified: trunk/reactos/drivers/usb/usbccgp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbccgp/CMakeL…
==============================================================================
--- trunk/reactos/drivers/usb/usbccgp/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbccgp/CMakeLists.txt [iso-8859-1] Thu Jan 2 14:25:01
2014
@@ -6,7 +6,7 @@
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
-add_library(usbccgp SHARED descriptor.c fdo.c function.c misc.c pdo.c usbccgp.c
usbccgp.rc)
+add_library(usbccgp SHARED descriptor.c fdo.c function.c misc.c pdo.c usbccgp.c guid.c
usbccgp.rc)
target_link_libraries(usbccgp ${PSEH_LIB})
Added: trunk/reactos/drivers/usb/usbccgp/guid.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbccgp/guid.c…
==============================================================================
--- trunk/reactos/drivers/usb/usbccgp/guid.c (added)
+++ trunk/reactos/drivers/usb/usbccgp/guid.c [iso-8859-1] Thu Jan 2 14:25:01 2014
@@ -0,0 +1,8 @@
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <wdm.h>
+#include <hubbusif.h>
+#include <initguid.h>
+#include <usbbusif.h>
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
Propchange: trunk/reactos/drivers/usb/usbccgp/guid.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/drivers/usb/usbccgp/usbccgp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbccgp/usbccg…
==============================================================================
--- trunk/reactos/drivers/usb/usbccgp/usbccgp.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/usbccgp/usbccgp.h [iso-8859-1] Thu Jan 2 14:25:01 2014
@@ -2,18 +2,14 @@
#define USBEHCI_H__
#include <ntddk.h>
-#include <initguid.h>
#include <hubbusif.h>
#include <usbbusif.h>
-#include <usbioctl.h>
#include <usbdlib.h>
/* FIXME:
#include <usbprotocoldefs.h> */
-#include <usb.h>
#include <stdio.h>
-#include <wdmguid.h>
typedef struct
{