Author: jgardou
Date: Tue Jun 10 22:17:58 2014
New Revision: 63590
URL:
http://svn.reactos.org/svn/reactos?rev=63590&view=rev
Log:
[HIDPARSE]
- Use cdecl for variadic function prototype
See CORE-6447
Modified:
trunk/reactos/drivers/hid/hidparse/hidparse.c
trunk/reactos/lib/drivers/hidparser/hidparser.h
Modified: trunk/reactos/drivers/hid/hidparse/hidparse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/hid/hidparse/hidpa…
==============================================================================
--- trunk/reactos/drivers/hid/hidparse/hidparse.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/hid/hidparse/hidparse.c [iso-8859-1] Tue Jun 10 22:17:58 2014
@@ -70,7 +70,7 @@
}
VOID
-NTAPI
+__cdecl
DebugFunction(
IN LPCSTR FormatStr, ...)
{
Modified: trunk/reactos/lib/drivers/hidparser/hidparser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/hidparser/hidp…
==============================================================================
--- trunk/reactos/lib/drivers/hidparser/hidparser.h [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/hidparser/hidparser.h [iso-8859-1] Tue Jun 10 22:17:58 2014
@@ -17,7 +17,7 @@
typedef VOID (NTAPI *PHIDPARSER_FREE_FUNCTION)(PVOID Item);
typedef VOID (NTAPI *PHIDPARSER_ZERO_FUNCTION)(PVOID Item, ULONG Size);
typedef VOID (NTAPI *PHIDPARSER_COPY_FUNCTION)(PVOID Target, PVOID Source, ULONG Size);
-typedef VOID (NTAPI *PHIDPARSER_DEBUG_FUNCTION)(LPCSTR Src, ...);
+typedef VOID (__cdecl *PHIDPARSER_DEBUG_FUNCTION)(LPCSTR Src, ...);
//
// status code