Use correct calling convention.
authorGisle Vanem <gvanem@broadpark.no>
Sun, 4 Feb 2007 13:02:31 +0000 (13:02 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Sun, 4 Feb 2007 13:02:31 +0000 (13:02 +0000)
ares/windows_port.c

index 6086024..2d84274 100644 (file)
 #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;