Hans Leidekker : include: Remove functions declarations from winldap.h that don't exist in the native header.

Alexandre Julliard julliard at winehq.org
Tue Apr 6 15:50:14 CDT 2021


Module: wine
Branch: master
Commit: 62721a7db3bf03b24bde51a50dc75340a4b05ded
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=62721a7db3bf03b24bde51a50dc75340a4b05ded

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Apr  6 15:46:52 2021 +0200

include: Remove functions declarations from winldap.h that don't exist in the native header.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/adsldp/adsldp.c       |  1 +
 dlls/wldap32/tests/parse.c |  1 +
 include/Makefile.in        |  1 +
 include/winldap.h          | 12 ------------
 4 files changed, 3 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/Makefile.in b/include/Makefile.in
index 9133e5c6315..3b60e1be303 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -741,6 +741,7 @@ SOURCES = \
 	wimgapi.h \
 	winapifamily.h \
 	winbase.h \
+	winber.h \
 	wincodec.idl \
 	wincodecsdk.idl \
 	wincon.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);




More information about the wine-cvs mailing list