wldap32: Use WINAPIV calling convention for variadic functions.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-11-02 10:16:27 +01:00
parent 039d267b09
commit 70e02ce73c
2 changed files with 4 additions and 4 deletions

View File

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

View File

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