aboutsummaryrefslogtreecommitdiff
path: root/ares/windows_port.c
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2007-02-04 13:02:31 +0000
committerGisle Vanem <gvanem@broadpark.no>2007-02-04 13:02:31 +0000
commita50414f594763f41f0a0d6dce02eddc307553272 (patch)
treecfa4f4f1bdfebf7a775eeb1f85cf33e6742d3215 /ares/windows_port.c
parentfe7fa8e794b4a8e3f04580235d57bd485ecd1e2d (diff)
Use correct calling convention.
Diffstat (limited to 'ares/windows_port.c')
-rw-r--r--ares/windows_port.c5
1 files changed, 3 insertions, 2 deletions
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;