Commit 70e02ce7 authored by Alexandre Julliard's avatar Alexandre Julliard

wldap32: Use WINAPIV calling convention for variadic functions.

parent 039d267b
......@@ -322,7 +322,7 @@ ULONG CDECL WLDAP32_ber_skip_tag( BerElement *berelement, ULONG *len )
* berelement must have been allocated with ber_alloc_t. This function
* can be called multiple times to append data.
*/
INT CDECL WLDAP32_ber_printf( BerElement *berelement, PCHAR fmt, ... )
INT WINAPIV WLDAP32_ber_printf( BerElement *berelement, PCHAR fmt, ... )
{
#ifdef HAVE_LDAP
__ms_va_list list;
......@@ -417,7 +417,7 @@ INT CDECL WLDAP32_ber_printf( BerElement *berelement, PCHAR fmt, ... )
* berelement must have been allocated with ber_init. This function
* can be called multiple times to decode data.
*/
INT CDECL WLDAP32_ber_scanf( BerElement *berelement, PCHAR fmt, ... )
INT WINAPIV WLDAP32_ber_scanf( BerElement *berelement, PCHAR fmt, ... )
{
#ifdef HAVE_LDAP
__ms_va_list list;
......
......@@ -628,9 +628,9 @@ void CDECL ber_free(BerElement*,INT);
BerElement* CDECL ber_init(BERVAL*);
ULONG CDECL ber_next_element(BerElement*,ULONG*,CHAR*);
ULONG CDECL ber_peek_tag(BerElement*,ULONG*);
INT CDECL ber_printf(BerElement*,PCHAR,...);
INT WINAPIV ber_printf(BerElement*,PCHAR,...);
ULONG CDECL ber_skip_tag(BerElement*,ULONG*);
INT CDECL ber_scanf(BerElement*,PCHAR,...);
INT WINAPIV ber_scanf(BerElement*,PCHAR,...);
ULONG CDECL LdapGetLastError(void);
ULONG CDECL LdapMapErrorToWin32(ULONG);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment