diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2007-02-04 13:02:31 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2007-02-04 13:02:31 +0000 |
commit | 6a3e5617d7d482022211cd1a80b64f5305cd18f2 (patch) | |
tree | 84b1186030423ec1974bd5714e3c15c1d52c8645 | |
parent | b6c446664143fe798bcee3d443c9a8d9a0239d36 (diff) | |
download | c-ares-6a3e5617d7d482022211cd1a80b64f5305cd18f2.tar.gz c-ares-6a3e5617d7d482022211cd1a80b64f5305cd18f2.tar.bz2 c-ares-6a3e5617d7d482022211cd1a80b64f5305cd18f2.zip |
Use correct calling convention.
-rw-r--r-- | windows_port.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/windows_port.c b/windows_port.c index 6086024..2d84274 100644 --- a/windows_port.c +++ b/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; |