From: Michael Gilbert Date: Tue, 13 Sep 2022 00:46:21 +0000 (+0100) Subject: disable obsolete wine_fold_string api X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~2^2^2^2~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d0886fcac688858f8b0491c331276500e370feb0;p=wine.git disable obsolete wine_fold_string api Gbp-Pq: Topic disable Gbp-Pq: Name fold.patch --- diff --git a/libs/wine/Makefile.in b/libs/wine/Makefile.in index 9036c95..6f6bd4e 100644 --- a/libs/wine/Makefile.in +++ b/libs/wine/Makefile.in @@ -74,7 +74,6 @@ C_SRCS = \ cptable.c \ debug.c \ decompose.c \ - digitmap.c \ fold.c \ ldt.c \ loader.c \ diff --git a/libs/wine/fold.c b/libs/wine/fold.c index 8fdd69e..c26afe8 100644 --- a/libs/wine/fold.c +++ b/libs/wine/fold.c @@ -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 */