[PATCH 2/3] include: Remove functions declarations from winldap.h that don't exist in the native header.

Hans Leidekker hans at codeweavers.com
Tue Apr 6 08:46:52 CDT 2021


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 dlls/adsldp/adsldp.c       |  1 +
 dlls/wldap32/tests/parse.c |  1 +
 include/winldap.h          | 12 ------------
 3 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/dlls/adsldp/adsldp.c b/dlls/adsldp/adsldp.c
index 63f800b5061..89d658c53ff 100644
--- a/dlls/adsldp/adsldp.c
+++ b/dlls/adsldp/adsldp.c
@@ -38,6 +38,7 @@
 #include "lmcons.h"
 #include "lmapibuf.h"
 #include "winldap.h"
+#include "winber.h"
 
 #include "adsldp_private.h"
 
diff --git a/dlls/wldap32/tests/parse.c b/dlls/wldap32/tests/parse.c
index 9fdd4db03ad..8deebcbc6bf 100644
--- a/dlls/wldap32/tests/parse.c
+++ b/dlls/wldap32/tests/parse.c
@@ -24,6 +24,7 @@
 #include <windef.h>
 #include <winbase.h>
 #include <winldap.h>
+#include <winber.h>
 
 #include "wine/test.h"
 
diff --git a/include/winldap.h b/include/winldap.h
index 2d41eaa3fa2..2cc29ef693c 100644
--- a/include/winldap.h
+++ b/include/winldap.h
@@ -632,19 +632,7 @@ ULONG CDECL ldap_value_freeW(PWCHAR*);
 #define    ldap_value_free WINELIB_NAME_AW(ldap_value_free)
 ULONG CDECL ldap_value_free_len(struct berval**);
 
-BerElement* CDECL ber_alloc_t(INT);
-BERVAL* CDECL ber_bvdup(BERVAL*);
-void CDECL ber_bvecfree(PBERVAL*);
 void CDECL ber_bvfree(BERVAL*);
-ULONG CDECL ber_first_element(BerElement*,ULONG*,CHAR**);
-INT CDECL ber_flatten(BerElement*,PBERVAL*);
-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 WINAPIV ber_printf(BerElement*,PCHAR,...);
-ULONG CDECL ber_skip_tag(BerElement*,ULONG*);
-INT WINAPIV ber_scanf(BerElement*,PCHAR,...);
 
 ULONG CDECL LdapGetLastError(void);
 ULONG CDECL LdapMapErrorToWin32(ULONG);
-- 
2.30.2




More information about the wine-devel mailing list