disable obsolete wine_fold_string api
authorMichael Gilbert <mgilbert@debian.org>
Sat, 19 Mar 2022 00:48:02 +0000 (00:48 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 19 Mar 2022 00:48:02 +0000 (00:48 +0000)
Gbp-Pq: Topic disable
Gbp-Pq: Name fold.patch

libs/wine/Makefile.in
libs/wine/fold.c

index 885a73265688f526c685b15c20a2ff9ef24a27d5..9981d6452e9aaec42530fe0ce4dc11cf2f1f5fd3 100644 (file)
@@ -74,7 +74,6 @@ C_SRCS = \
        cptable.c \
        debug.c \
        decompose.c \
-       digitmap.c \
        fold.c \
        ldt.c \
        loader.c \
index 8fdd69ee53ec510600d89094ea74d92fdf634f8e..c26afe8368ec91ca64d8ccd51824d94e2745bd7c 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "unicode.h"
 
+#if 0
 static inline WCHAR to_unicode_digit( WCHAR ch )
 {
     extern const WCHAR wine_digitmap[] DECLSPEC_HIDDEN;
@@ -36,6 +37,7 @@ static inline WCHAR to_unicode_native( WCHAR ch )
     extern const WCHAR wine_compatmap[] DECLSPEC_HIDDEN;
     return ch + wine_compatmap[wine_compatmap[ch >> 8] + (ch & 0xff)];
 }
+#endif
 
 static const WCHAR wine_ligatures[] =
 {
@@ -119,6 +121,7 @@ static inline const WCHAR* get_ligature( WCHAR wc )
     return empty_ligature;
 }
 
+#if 0
 /* fold a unicode string */
 int wine_fold_string_obsolete( int flags, const WCHAR *src, int srclen, WCHAR *dst, int dstlen )
 {
@@ -203,5 +206,6 @@ int wine_fold_string_obsolete( int flags, const WCHAR *src, int srclen, WCHAR *d
 }
 
 __ASM_OBSOLETE(wine_fold_string);
+#endif
 
 #endif  /* __ASM_OBSOLETE */