Marcus Meissner : wldap32: Mark internal symbols with hidden visibility.

Alexandre Julliard julliard at winehq.org
Thu May 26 10:56:26 CDT 2011


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

Author: Marcus Meissner <meissner at suse.de>
Date:   Wed May 25 19:09:54 2011 +0200

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 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 */




More information about the wine-cvs mailing list