* snmp.h (SnmpUtilDbgPrint): Remove SNMP_FUNC_TYPE (__stdcall) and mark the varargs function as WINAPIV (__cdecl). git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/branches/releases/v1.0@3727 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/ChangeLog b/mingw-w64-headers/include/ChangeLog index 4ef3557..d402237 100644 --- a/mingw-w64-headers/include/ChangeLog +++ b/mingw-w64-headers/include/ChangeLog
@@ -1,3 +1,8 @@ +2010-10-13 Ozkan Sezer <sezeroz@gmail.com> + + * snmp.h (SnmpUtilDbgPrint): Remove SNMP_FUNC_TYPE (__stdcall) and + mark the varargs function as WINAPIV (__cdecl). + 2010-10-10 Ozkan Sezer <sezeroz@gmail.com> * assert.h: Always undefine and redefine assert() based on NDEBUG.
diff --git a/mingw-w64-headers/include/snmp.h b/mingw-w64-headers/include/snmp.h index d06713d..82e9388 100644 --- a/mingw-w64-headers/include/snmp.h +++ b/mingw-w64-headers/include/snmp.h
@@ -216,7 +216,7 @@ #define SNMP_OUTPUT_TO_EVENTLOG 0x4 #define SNMP_OUTPUT_TO_DEBUGGER 0x8 - VOID SNMP_FUNC_TYPE SnmpUtilDbgPrint(INT nLogLevel,LPSTR szFormat,...); + VOID WINAPIV SnmpUtilDbgPrint(INT nLogLevel,LPSTR szFormat,...); #define SNMPDBG(_x_) @@ -295,4 +295,6 @@ #ifdef __cplusplus } #endif -#endif + +#endif /* _INC_SNMP */ +