[PATCH] wldap32: Mark internal symbols with hidden visibility

Marcus Meissner meissner at suse.de
Wed May 25 12:09:54 CDT 2011


---
 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 ca088e6..2509aa1 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 bf913d0..00a85a3 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 */
-- 
1.7.1




More information about the wine-patches mailing list