Use correct calling convention.

This commit is contained in:
Gisle Vanem 2007-02-04 13:02:31 +00:00
parent fe7fa8e794
commit a50414f594
1 changed files with 3 additions and 2 deletions

View File

@ -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;