summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2011-06-15 01:38:58 +0200
committerPeter Stuge <peter@stuge.se>2011-06-15 02:45:20 +0200
commitc2e2723a365a2baf79eaf7d6906248b7e3689688 (patch)
tree2c4db4ee57a3902cbea697338a7bb81de2f186ec
parent9981fbae761688595b19f2d23217766dba054dbe (diff)
downloadlibusb-c2e2723a365a2baf79eaf7d6906248b7e3689688.tar.gz
Windows: Make cancel_io() in poll_windows.c static
References #97.
-rw-r--r--libusb/os/poll_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/poll_windows.c b/libusb/os/poll_windows.c
index b17b253..c997c81 100644
--- 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;