removed static, removed curl special return type, added include windows.h
authorDaniel Stenberg <daniel@haxx.se>
Fri, 29 Jun 2001 11:33:00 +0000 (11:33 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 29 Jun 2001 11:33:00 +0000 (11:33 +0000)
docs/examples/win32sockets.c

index 8dba979..59b31a4 100644 (file)
@@ -1,14 +1,17 @@
+
 /*
  * These are example functions doing socket init that Windows
  * require. If you don't use windows, you can safely ignore this crap.
  */
 
-static void win32_cleanup(void)
+#include <windows.h>
+
+void win32_cleanup(void)
 {
   WSACleanup();
 }
 
-static CURLcode win32_init(void)
+int win32_init(void)
 {
   WORD wVersionRequested;  
   WSADATA wsaData;