projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6635dbb
)
Windows: Make cancel_io() in poll_windows.c static
author
Pete Batard
<pbatard@gmail.com>
Tue, 14 Jun 2011 23:38:58 +0000
(
01:38
+0200)
committer
Peter Stuge
<peter@stuge.se>
Sun, 24 Jul 2011 20:29:09 +0000
(22:29 +0200)
References #97.
libusb/os/poll_windows.c
patch
|
blob
|
history
diff --git
a/libusb/os/poll_windows.c
b/libusb/os/poll_windows.c
index
b17b253
..
c997c81
100644
(file)
--- a/
libusb/os/poll_windows.c
+++ b/
libusb/os/poll_windows.c
@@
-104,7
+104,7
@@
static volatile LONG compat_spinlock = 0;
// platform headers, we hook into the Kernel32 system DLL directly to seek it.
static BOOL (__stdcall *pCancelIoEx)(HANDLE, LPOVERLAPPED) = NULL;
#define CancelIoEx_Available (pCancelIoEx != NULL)
-__inline BOOL cancel_io(int _index)
+
static
__inline BOOL cancel_io(int _index)
{
if ((_index < 0) || (_index >= MAX_FDS)) {
return FALSE;