disable obsolete wine_fold_string api
authorMichael Gilbert <mgilbert@debian.org>
Tue, 13 Sep 2022 00:46:21 +0000 (01:46 +0100)
committerMichael Gilbert <mgilbert@debian.org>
Tue, 13 Sep 2022 00:46:21 +0000 (01:46 +0100)
Gbp-Pq: Topic disable
Gbp-Pq: Name fold.patch

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

index 9036c95022379c18272e6fd72c92f1dccbc3072a..6f6bd4e7d614e0c86a58db063a43bead1265832b 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 */