[Wine-patches] [eterhack 19/24] usbhub.sys: Do not use '__wine_' prefix for non-exported functions.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Мар 4 12:25:28 MSK 2009


---
 dlls/usbhub.sys/usbhub.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/usbhub.sys/usbhub.c b/dlls/usbhub.sys/usbhub.c
index 8dedd64..566b8d2 100644
--- a/dlls/usbhub.sys/usbhub.c
+++ b/dlls/usbhub.sys/usbhub.c
@@ -82,7 +82,7 @@ static void add_data( char **dst, int *dst_size, void *src, int src_size )
     *dst_size -= copy;
 }
 
-NTSTATUS WINAPI __wine_usbhub_internal_ioctl( DEVICE_OBJECT *device, IRP *irp )
+NTSTATUS WINAPI usbhub_internal_ioctl( DEVICE_OBJECT *device, IRP *irp )
 {
     IO_STACK_LOCATION *irpsp;
     URB *urb;
@@ -258,7 +258,7 @@ NTSTATUS WINAPI __wine_usbhub_internal_ioctl( DEVICE_OBJECT *device, IRP *irp )
     return status;
 }
 
-NTSTATUS WINAPI __wine_usbhub_dispatch_pnp( DEVICE_OBJECT *device, IRP *irp )
+NTSTATUS WINAPI usbhub_dispatch_pnp( DEVICE_OBJECT *device, IRP *irp )
 {
     static const WCHAR device_idW[] = {'U','S','B','\\',
                                        'V','i','d','_','%','0','4','x','&',
@@ -538,8 +538,8 @@ NTSTATUS WINAPI DriverEntry( DRIVER_OBJECT *driver, UNICODE_STRING *path )
 #if defined(HAVE_LIBUSB) && defined(HAVE_USB_H)
     HANDLE thread;
 
-    driver->MajorFunction[IRP_MJ_INTERNAL_DEVICE_CONTROL] = __wine_usbhub_internal_ioctl;
-    driver->MajorFunction[IRP_MJ_PNP] = __wine_usbhub_dispatch_pnp;
+    driver->MajorFunction[IRP_MJ_INTERNAL_DEVICE_CONTROL] = usbhub_internal_ioctl;
+    driver->MajorFunction[IRP_MJ_PNP] = usbhub_dispatch_pnp;
 
     thread = CreateThread( NULL, 0, enum_usb_devices, driver, 0, NULL );
     if (!thread) return STATUS_UNSUCCESSFUL;
-- 
1.6.1.3.GIT



Подробная информация о списке рассылки Wine-patches