From 5d83abac3ff2804b4ac9cb1516b25e431d0bad06 Mon Sep 17 00:00:00 2001 From: Dmitry Fleytman Date: Wed, 20 Jan 2016 17:05:53 +0200 Subject: [PATCH] windows: Rename windows_usb.h/c windows_winusb.h/c Signed-off-by: Dmitry Fleytman Signed-off-by: Chris Dickens --- libusb/Makefile.am | 2 +- libusb/os/{windows_usb.c => windows_winusb.c} | 4 ++-- libusb/os/{windows_usb.h => windows_winusb.h} | 4 ++-- libusb/version_nano.h | 2 +- msvc/libusb_dll.dsp | 4 ++-- msvc/libusb_dll_2005.vcproj | 4 ++-- msvc/libusb_dll_2010.vcxproj | 4 ++-- msvc/libusb_dll_2010.vcxproj.filters | 4 ++-- msvc/libusb_dll_2012.vcxproj | 4 ++-- msvc/libusb_dll_2012.vcxproj.filters | 4 ++-- msvc/libusb_dll_2013.vcxproj | 4 ++-- msvc/libusb_dll_2015.vcxproj | 4 ++-- msvc/libusb_sources | 2 +- msvc/libusb_static.dsp | 4 ++-- msvc/libusb_static_2005.vcproj | 4 ++-- msvc/libusb_static_2010.vcxproj | 4 ++-- msvc/libusb_static_2010.vcxproj.filters | 4 ++-- msvc/libusb_static_2012.vcxproj | 4 ++-- msvc/libusb_static_2012.vcxproj.filters | 4 ++-- msvc/libusb_static_2013.vcxproj | 4 ++-- msvc/libusb_static_2015.vcxproj | 4 ++-- 21 files changed, 39 insertions(+), 39 deletions(-) rename libusb/os/{windows_usb.c => windows_winusb.c} (99%) rename libusb/os/{windows_usb.h => windows_winusb.h} (99%) diff --git a/libusb/Makefile.am b/libusb/Makefile.am index bd495ce..4990ada 100644 --- a/libusb/Makefile.am +++ b/libusb/Makefile.am @@ -16,7 +16,7 @@ COMMON_WINDOWS_SRC = os/windows_nt_common.h \ os/windows_nt_common.c \ os/windows_common.h \ libusb-1.0.rc libusb-1.0.def -WINDOWS_USB_SRC = os/windows_usb.h os/windows_usb.c $(COMMON_WINDOWS_SRC) +WINDOWS_USB_SRC = os/windows_winusb.h os/windows_winusb.c $(COMMON_WINDOWS_SRC) WINCE_USB_SRC = os/wince_usb.h os/wince_usb.c HAIKU_USB_SRC = os/haiku_usb.h os/haiku_usb_backend.cpp \ os/haiku_usb_raw.h os/haiku_usb_raw.cpp os/haiku_pollfs.cpp diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_winusb.c similarity index 99% rename from libusb/os/windows_usb.c rename to libusb/os/windows_winusb.c index f73ad6f..34ce461 100644 --- a/libusb/os/windows_usb.c +++ b/libusb/os/windows_winusb.c @@ -37,7 +37,7 @@ #include "libusbi.h" #include "poll_windows.h" -#include "windows_usb.h" +#include "windows_winusb.h" // The 2 macros below are used in conjunction with safe loops. #define LOOP_CHECK(fcall) { r=fcall; if (r != LIBUSB_SUCCESS) continue; } @@ -4107,7 +4107,7 @@ static int composite_reset_device(int sub_api, struct libusb_device_handle *dev_ { struct windows_device_priv *priv = _device_priv(dev_handle->dev); int r; - uint8_t i; + uint8_t i; bool available[SUB_API_MAX]; for (i = 0; i @@ -408,7 +408,7 @@ > - + @@ -155,7 +155,7 @@ - + diff --git a/msvc/libusb_dll_2010.vcxproj.filters b/msvc/libusb_dll_2010.vcxproj.filters index 7a4578c..c77654b 100644 --- a/msvc/libusb_dll_2010.vcxproj.filters +++ b/msvc/libusb_dll_2010.vcxproj.filters @@ -38,7 +38,7 @@ Source Files - + Source Files @@ -61,7 +61,7 @@ Header Files - + Header Files diff --git a/msvc/libusb_dll_2012.vcxproj b/msvc/libusb_dll_2012.vcxproj index adcad4a..65e1a34 100644 --- a/msvc/libusb_dll_2012.vcxproj +++ b/msvc/libusb_dll_2012.vcxproj @@ -150,7 +150,7 @@ - + @@ -161,7 +161,7 @@ - + diff --git a/msvc/libusb_dll_2012.vcxproj.filters b/msvc/libusb_dll_2012.vcxproj.filters index ccada70..6120953 100644 --- a/msvc/libusb_dll_2012.vcxproj.filters +++ b/msvc/libusb_dll_2012.vcxproj.filters @@ -35,7 +35,7 @@ Source Files - + Source Files @@ -58,7 +58,7 @@ Header Files - + Header Files diff --git a/msvc/libusb_dll_2013.vcxproj b/msvc/libusb_dll_2013.vcxproj index d2ee675..6f79468 100644 --- a/msvc/libusb_dll_2013.vcxproj +++ b/msvc/libusb_dll_2013.vcxproj @@ -151,7 +151,7 @@ - + @@ -163,7 +163,7 @@ - + diff --git a/msvc/libusb_dll_2015.vcxproj b/msvc/libusb_dll_2015.vcxproj index 85d9823..44ea250 100644 --- a/msvc/libusb_dll_2015.vcxproj +++ b/msvc/libusb_dll_2015.vcxproj @@ -151,7 +151,7 @@ - + @@ -163,7 +163,7 @@ - + diff --git a/msvc/libusb_sources b/msvc/libusb_sources index f9718cf..a0387d9 100644 --- a/msvc/libusb_sources +++ b/msvc/libusb_sources @@ -34,6 +34,6 @@ SOURCES=..\core.c \ ..\hotplug.c \ threads_windows.c \ poll_windows.c \ - windows_usb.c \ + windows_winusb.c \ windows_nt_common.c \ ..\libusb-1.0.rc diff --git a/msvc/libusb_static.dsp b/msvc/libusb_static.dsp index afdbbed..7eddf79 100644 --- a/msvc/libusb_static.dsp +++ b/msvc/libusb_static.dsp @@ -119,7 +119,7 @@ SOURCE=..\libusb\os\threads_windows.c # End Source File # Begin Source File -SOURCE=..\libusb\os\windows_usb.c +SOURCE=..\libusb\os\windows_winusb.c # End Source File # End Group # Begin Group "Header Files" @@ -163,7 +163,7 @@ SOURCE=..\libusb\os\threads_windows.h # End Source File # Begin Source File -SOURCE=..\libusb\os\windows_usb.h +SOURCE=..\libusb\os\windows_winusb.h # End Source File # Begin Source File diff --git a/msvc/libusb_static_2005.vcproj b/msvc/libusb_static_2005.vcproj index f7b8e45..5ba6819 100644 --- a/msvc/libusb_static_2005.vcproj +++ b/msvc/libusb_static_2005.vcproj @@ -314,7 +314,7 @@ > @@ -348,7 +348,7 @@ > - + @@ -147,7 +147,7 @@ - + diff --git a/msvc/libusb_static_2010.vcxproj.filters b/msvc/libusb_static_2010.vcxproj.filters index 5cd8060..cce8001 100644 --- a/msvc/libusb_static_2010.vcxproj.filters +++ b/msvc/libusb_static_2010.vcxproj.filters @@ -32,7 +32,7 @@ Source Files - + Source Files @@ -55,7 +55,7 @@ Header Files - + Header Files diff --git a/msvc/libusb_static_2012.vcxproj b/msvc/libusb_static_2012.vcxproj index 88605ba..5cce2b8 100644 --- a/msvc/libusb_static_2012.vcxproj +++ b/msvc/libusb_static_2012.vcxproj @@ -140,7 +140,7 @@ - + @@ -151,7 +151,7 @@ - + diff --git a/msvc/libusb_static_2012.vcxproj.filters b/msvc/libusb_static_2012.vcxproj.filters index 5cd8060..cce8001 100644 --- a/msvc/libusb_static_2012.vcxproj.filters +++ b/msvc/libusb_static_2012.vcxproj.filters @@ -32,7 +32,7 @@ Source Files - + Source Files @@ -55,7 +55,7 @@ Header Files - + Header Files diff --git a/msvc/libusb_static_2013.vcxproj b/msvc/libusb_static_2013.vcxproj index f980ae3..4ea706f 100644 --- a/msvc/libusb_static_2013.vcxproj +++ b/msvc/libusb_static_2013.vcxproj @@ -141,7 +141,7 @@ - + @@ -153,7 +153,7 @@ - + diff --git a/msvc/libusb_static_2015.vcxproj b/msvc/libusb_static_2015.vcxproj index b50cdf2..510ef5c 100644 --- a/msvc/libusb_static_2015.vcxproj +++ b/msvc/libusb_static_2015.vcxproj @@ -145,7 +145,7 @@ - + @@ -157,7 +157,7 @@ - + -- 2.7.4