removed static, removed curl special return type, added include windows.h
This commit is contained in:
parent
5e2a74fcc4
commit
9646a8b346
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user