From: Gisle Vanem Date: Sun, 4 Feb 2007 13:02:31 +0000 (+0000) Subject: Use correct calling convention. X-Git-Tag: curl-7_16_2~367 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a50414f594763f41f0a0d6dce02eddc307553272;p=curl Use correct calling convention. --- diff --git a/ares/windows_port.c b/ares/windows_port.c index 6086024a0..2d842742a 100644 --- a/ares/windows_port.c +++ b/ares/windows_port.c @@ -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;