Commit afd681eb authored by Alexandre Julliard's avatar Alexandre Julliard

libport: Move wine_fold_string implementation back to libwine and make it obsolete.

parent 7929583b
...@@ -95,7 +95,6 @@ extern int wine_utf8_wcstombs( int flags, const WCHAR *src, int srclen, char *ds ...@@ -95,7 +95,6 @@ extern int wine_utf8_wcstombs( int flags, const WCHAR *src, int srclen, char *ds
extern int wine_compare_string( int flags, const WCHAR *str1, int len1, const WCHAR *str2, int len2 ); extern int wine_compare_string( int flags, const WCHAR *str1, int len1, const WCHAR *str2, int len2 );
extern int wine_get_sortkey( int flags, const WCHAR *src, int srclen, char *dst, int dstlen ); extern int wine_get_sortkey( int flags, const WCHAR *src, int srclen, char *dst, int dstlen );
extern int wine_fold_string( int flags, const WCHAR *src, int srclen , WCHAR *dst, int dstlen );
extern int strcmpiW( const WCHAR *str1, const WCHAR *str2 ); extern int strcmpiW( const WCHAR *str1, const WCHAR *str2 );
extern int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n ); extern int strncmpiW( const WCHAR *str1, const WCHAR *str2, int n );
......
...@@ -82,7 +82,6 @@ C_SRCS = \ ...@@ -82,7 +82,6 @@ C_SRCS = \
decompose.c \ decompose.c \
digitmap.c \ digitmap.c \
ffs.c \ ffs.c \
fold.c \
fstatvfs.c \ fstatvfs.c \
getopt.c \ getopt.c \
interlocked.c \ interlocked.c \
......
...@@ -4,6 +4,7 @@ EXTRALIBS = $(DL_LIBS) $(COREFOUNDATION_LIBS) $(CORESERVICES_LIBS) $(I386_LIBS) ...@@ -4,6 +4,7 @@ EXTRALIBS = $(DL_LIBS) $(COREFOUNDATION_LIBS) $(CORESERVICES_LIBS) $(I386_LIBS)
C_SRCS = \ C_SRCS = \
config.c \ config.c \
debug.c \ debug.c \
fold.c \
ldt.c \ ldt.c \
loader.c \ loader.c \
mmap.c \ mmap.c \
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "wine/asm.h"
#ifdef __ASM_OBSOLETE
#include "wine/unicode.h" #include "wine/unicode.h"
static inline WCHAR to_unicode_digit( WCHAR ch ) static inline WCHAR to_unicode_digit( WCHAR ch )
...@@ -116,7 +120,7 @@ static inline const WCHAR* get_ligature( WCHAR wc ) ...@@ -116,7 +120,7 @@ static inline const WCHAR* get_ligature( WCHAR wc )
} }
/* fold a unicode string */ /* fold a unicode string */
int wine_fold_string( int flags, const WCHAR *src, int srclen, WCHAR *dst, int dstlen ) int wine_fold_string_obsolete( int flags, const WCHAR *src, int srclen, WCHAR *dst, int dstlen )
{ {
WCHAR *dstbase = dst; WCHAR *dstbase = dst;
const WCHAR *expand; const WCHAR *expand;
...@@ -197,3 +201,7 @@ int wine_fold_string( int flags, const WCHAR *src, int srclen, WCHAR *dst, int d ...@@ -197,3 +201,7 @@ int wine_fold_string( int flags, const WCHAR *src, int srclen, WCHAR *dst, int d
} }
return dst - dstbase; return dst - dstbase;
} }
__ASM_OBSOLETE(wine_fold_string);
#endif /* __ASM_OBSOLETE */
...@@ -45,7 +45,6 @@ const void *libwine_port_functions[] = ...@@ -45,7 +45,6 @@ const void *libwine_port_functions[] =
wine_cp_wcstombs, wine_cp_wcstombs,
wine_cpsymbol_mbstowcs, wine_cpsymbol_mbstowcs,
wine_cpsymbol_wcstombs, wine_cpsymbol_wcstombs,
wine_fold_string,
wine_utf8_mbstowcs, wine_utf8_mbstowcs,
wine_utf8_wcstombs wine_utf8_wcstombs
}; };
......
...@@ -22,7 +22,6 @@ WINE_1.0 ...@@ -22,7 +22,6 @@ WINE_1.0
wine_dlopen; wine_dlopen;
wine_dlsym; wine_dlsym;
wine_exec_wine_binary; wine_exec_wine_binary;
wine_fold_string;
wine_get_build_dir; wine_get_build_dir;
wine_get_build_id; wine_get_build_id;
wine_get_config_dir; wine_get_config_dir;
...@@ -117,6 +116,7 @@ WINE_1.0 ...@@ -117,6 +116,7 @@ WINE_1.0
wine_dll_load; wine_dll_load;
wine_dll_load_main_exe; wine_dll_load_main_exe;
wine_dll_unload; wine_dll_unload;
wine_fold_string;
wine_pthread_get_functions; wine_pthread_get_functions;
wine_pthread_set_functions; wine_pthread_set_functions;
wine_switch_to_stack; wine_switch_to_stack;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment