[KERNEL32/STRING] Sync fold.c with Wine Staging 3.3. CORE-14434
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 11 Apr 2018 11:45:42 +0000 (12:45 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 11 Apr 2018 11:45:42 +0000 (12:45 +0100)
dll/win32/kernel32/winnls/string/fold.c
media/doc/README.WINE

index 9b6105b..738469c 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include <wine/unicode.h>
+#include "wine/unicode.h"
 
 static inline WCHAR to_unicode_digit( WCHAR ch )
 {
-    extern const WCHAR wine_digitmap[];
+    extern const WCHAR wine_digitmap[] DECLSPEC_HIDDEN;
     return ch + wine_digitmap[wine_digitmap[ch >> 8] + (ch & 0xff)];
 }
 
 static inline WCHAR to_unicode_native( WCHAR ch )
 {
-    extern const WCHAR wine_compatmap[];
+    extern const WCHAR wine_compatmap[] DECLSPEC_HIDDEN;
     return ch + wine_compatmap[wine_compatmap[ch >> 8] + (ch & 0xff)];
 }
 
index 71e2e11..c99a0ce 100644 (file)
@@ -279,6 +279,7 @@ kernel32 -
   reactos/dll/win32/kernel32/winnls/string/chartype.c    # Synced in r52754
   reactos/dll/win32/kernel32/winnls/string/collation.c   # Synced to WineStaging-1.7.55
   reactos/dll/win32/kernel32/winnls/string/digitmap.c    # Synced to WineStaging-3.3
+  reactos/dll/win32/kernel32/winnls/string/fold.c        # Synced to WineStaging-3.3
   reactos/dll/win32/kernel32/winnls/string/format_msg.c  # Synced to WineStaging-1.7.55
   reactos/dll/win32/kernel32/winnls/string/lang.c        # Synced in r52754
   reactos/dll/win32/kernel32/winnls/string/lcformat.c    # Synced to WineStaging-1.7.55