Commit 9646a8b3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 5e2a74fc
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line

/*
 * 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;