Commit a50414f5 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Use correct calling convention.

parent fe7fa8e7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -21,10 +21,11 @@
#include "ares_private.h"

#ifdef __WATCOMC__
/* Watcom needs a DlMain() in order to initialise the clib startup code.
/*
 * Watcom needs a DlMain() in order to initialise the clib startup code.
 */
BOOL
DllMain (HINSTANCE hnd, DWORD reason, LPVOID reserved)
WINAPI DllMain (HINSTANCE hnd, DWORD reason, LPVOID reserved)
{
  (void) hnd;
  (void) reason;