mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:33:33 +03:00
removed static, removed curl special return type, added include windows.h
This commit is contained in:
parent
5e2a74fcc4
commit
9646a8b346
1 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue