Alexandre Julliard : wldap32: Use WINAPIV calling convention for variadic functions.

Alexandre Julliard julliard at winehq.org
Thu Nov 2 17:28:48 CDT 2017


Module: wine
Branch: master
Commit: 70e02ce73c627837ad6ca1b1d8c6a91b7bb4dbd0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=70e02ce73c627837ad6ca1b1d8c6a91b7bb4dbd0

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Nov  2 10:16:27 2017 +0100

wldap32: Use WINAPIV calling convention for variadic functions.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wldap32/ber.c | 4 ++--
 include/winldap.h  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wldap32/ber.c b/dlls/wldap32/ber.c
index 41acd70..c2c6f26 100644
--- a/dlls/wldap32/ber.c
+++ b/dlls/wldap32/ber.c
@@ -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;
diff --git a/include/winldap.h b/include/winldap.h
index 2014e06..e5c1faa 100644
--- a/include/winldap.h
+++ b/include/winldap.h
@@ -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);




More information about the wine-cvs mailing list