summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-03-23 19:42:15 +0000
committerPete Batard <pbatard@gmail.com>2010-03-23 19:42:15 +0000
commitfb787f4e67d386052f7f33e630f20d169e8b7886 (patch)
tree0beb749262ab391b864d171d562492826ded6993
parentad262a68bb58b86a1ae6e2d6b3cce2d847cd3d9b (diff)
downloadlibusb-fb787f4e67d386052f7f33e630f20d169e8b7886.tar.gz
enabled reuse of windows_error_str for wdir225
additional cleanup
-rw-r--r--examples/lsusb_2008.vcproj8
-rw-r--r--examples/xusb_2008.vcproj8
-rw-r--r--libusb/os/windows_usb.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/examples/lsusb_2008.vcproj b/examples/lsusb_2008.vcproj
index 560f296..77ed4ef 100644
--- a/examples/lsusb_2008.vcproj
+++ b/examples/lsusb_2008.vcproj
@@ -67,7 +67,7 @@
Name="VCLinkerTool"
AdditionalDependencies="setupapi.lib"
LinkIncremental="2"
- AdditionalLibraryDirectories="..\msvc"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
@@ -144,7 +144,7 @@
Name="VCLinkerTool"
AdditionalDependencies="setupapi.lib"
LinkIncremental="2"
- AdditionalLibraryDirectories="..\msvc"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
@@ -221,7 +221,7 @@
Name="VCLinkerTool"
AdditionalDependencies="setupapi.lib"
LinkIncremental="1"
- AdditionalLibraryDirectories="..\msvc"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
@@ -301,7 +301,7 @@
Name="VCLinkerTool"
AdditionalDependencies="setupapi.lib"
LinkIncremental="1"
- AdditionalLibraryDirectories="..\msvc"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
diff --git a/examples/xusb_2008.vcproj b/examples/xusb_2008.vcproj
index 224249a..2ae064e 100644
--- a/examples/xusb_2008.vcproj
+++ b/examples/xusb_2008.vcproj
@@ -67,7 +67,7 @@
Name="VCLinkerTool"
AdditionalDependencies="setupapi.lib"
LinkIncremental="2"
- AdditionalLibraryDirectories="..\msvc"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
@@ -144,7 +144,7 @@
Name="VCLinkerTool"
AdditionalDependencies="setupapi.lib"
LinkIncremental="2"
- AdditionalLibraryDirectories="..\msvc"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
@@ -221,7 +221,7 @@
Name="VCLinkerTool"
AdditionalDependencies="setupapi.lib"
LinkIncremental="1"
- AdditionalLibraryDirectories="..\msvc"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
@@ -301,7 +301,7 @@
Name="VCLinkerTool"
AdditionalDependencies="setupapi.lib"
LinkIncremental="1"
- AdditionalLibraryDirectories="..\msvc"
+ AdditionalLibraryDirectories=""
GenerateDebugInformation="true"
ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c
index ff9f397..3d931a9 100644
--- a/libusb/os/windows_usb.c
+++ b/libusb/os/windows_usb.c
@@ -182,7 +182,7 @@ static char* guid_to_string(const GUID guid)
* Converts a windows error to human readable string
* uses retval as errorcode, or, if 0, use GetLastError()
*/
-static char *windows_error_str(uint32_t retval)
+char *windows_error_str(uint32_t retval)
{
static char err_string[ERR_BUFFER_SIZE];