summaryrefslogtreecommitdiff
path: root/lib/warnless.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-01-09 13:03:53 +0100
committerYang Tse <yangsita@gmail.com>2013-01-09 22:23:49 +0100
commita9ca5e61e533def9e430597e36d70e96aee8e27a (patch)
treeb0692fde66d6fe9c3ae9c2ef4e6c203bc05d8fbb /lib/warnless.h
parent06558695d5fc8f41c3d3e6f79e467ac9a987349a (diff)
downloadcurl-a9ca5e61e533def9e430597e36d70e96aee8e27a.tar.gz
sockfilt.c: fix some W64 compiler warnings
Diffstat (limited to 'lib/warnless.h')
-rw-r--r--lib/warnless.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/warnless.h b/lib/warnless.h
index 9d690d62c..f22f0bae4 100644
--- a/lib/warnless.h
+++ b/lib/warnless.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2013, 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
@@ -22,6 +22,10 @@
*
***************************************************************************/
+#ifdef USE_WINSOCK
+#include <curl/curl.h> /* for curl_socket_t */
+#endif
+
unsigned short curlx_ultous(unsigned long ulnum);
unsigned char curlx_ultouc(unsigned long ulnum);
@@ -48,6 +52,14 @@ int curlx_sztosi(ssize_t sznum);
size_t curlx_sitouz(int sinum);
+#ifdef USE_WINSOCK
+
+int curlx_sktosi(curl_socket_t s);
+
+curl_socket_t curlx_sitosk(int i);
+
+#endif /* USE_WINSOCK */
+
#if defined(__INTEL_COMPILER) && defined(__unix__)
int curlx_FD_ISSET(int fd, fd_set *fdset);