From b122ac9c0799d9ff3ba9474e8d2ea56dffdd5fdb Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 25 May 2011 19:09:54 +0200 Subject: [PATCH] wldap32: Mark internal symbols with hidden visibility. --- dlls/wldap32/error.c | 2 -- dlls/wldap32/wldap32.h | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dlls/wldap32/error.c b/dlls/wldap32/error.c index ca088e6876f..2509aa1748c 100644 --- a/dlls/wldap32/error.c +++ b/dlls/wldap32/error.c @@ -37,8 +37,6 @@ #include "winldap_private.h" #include "wldap32.h" -extern HINSTANCE hwldap32; - WINE_DEFAULT_DEBUG_CHANNEL(wldap32); ULONG map_error( int error ) diff --git a/dlls/wldap32/wldap32.h b/dlls/wldap32/wldap32.h index bf913d04aad..00a85a36539 100644 --- a/dlls/wldap32/wldap32.h +++ b/dlls/wldap32/wldap32.h @@ -18,7 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -ULONG map_error( int ); +extern HINSTANCE hwldap32 DECLSPEC_HIDDEN; + +ULONG map_error( int ) DECLSPEC_HIDDEN; /* A set of helper functions to convert LDAP data structures * to and from ansi (A), wide character (W) and utf8 (U) encodings. @@ -854,5 +856,4 @@ static inline void sortkeyarrayfreeU( LDAPSortKey **sortkeyarray ) HeapFree( GetProcessHeap(), 0, sortkeyarray ); } } - #endif /* HAVE_LDAP */ -- 2.11.4.GIT