removed static, removed curl special return type, added include windows.h

This commit is contained in:
Daniel Stenberg 2001-06-29 11:33:00 +00:00
parent 5e2a74fcc4
commit 9646a8b346

View File

@ -1,14 +1,17 @@
/* /*
* These are example functions doing socket init that Windows * These are example functions doing socket init that Windows
* require. If you don't use windows, you can safely ignore this crap. * 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(); WSACleanup();
} }
static CURLcode win32_init(void) int win32_init(void)
{ {
WORD wVersionRequested; WORD wVersionRequested;
WSADATA wsaData; WSADATA wsaData;