aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2014-01-26 09:44:16 +0100
committerMarc Hoersken <info@marc-hoersken.de>2014-01-26 09:44:16 +0100
commit33f9c05082545efece47ff384a1ac09459075e16 (patch)
treeeda60c169e0b489b0803d2bb7aa8a79024c25170
parent00787f94b285bd018091e34a4f75cf79b8f98ee9 (diff)
sockfilt.c: follow up cleanup commit on 49b63cf3
-rw-r--r--tests/server/sockfilt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index a76860880..82a9a5664 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -511,7 +511,7 @@ static void lograw(unsigned char *buffer, ssize_t len)
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms687028.aspx
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms741572.aspx
*/
-DWORD WINAPI select_ws_stdin_wait_thread(LPVOID lpParameter)
+static DWORD WINAPI select_ws_stdin_wait_thread(LPVOID lpParameter)
{
HANDLE handle;
DWORD mode;
@@ -528,7 +528,7 @@ DWORD WINAPI select_ws_stdin_wait_thread(LPVOID lpParameter)
static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timeval *timeout)
{
- DWORD milliseconds, wait, idx, mode;
+ DWORD milliseconds, wait, idx;
WSAEVENT wsaevent, *wsaevents;
WSANETWORKEVENTS wsanetevents;
HANDLE handle, *handles;