From fa84ea255501390b0967d430de6b371149a6ff28 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 18 Feb 2016 14:10:26 +0900 Subject: [PATCH] libwine: Move the wine_fold_string implementation to libwine_port. Signed-off-by: Alexandre Julliard --- libs/port/Makefile.in | 1 + libs/{wine => port}/fold.c | 0 libs/wine/Makefile.in | 1 - libs/wine/port.c | 7 +++++++ 4 files changed, 8 insertions(+), 1 deletion(-) rename libs/{wine => port}/fold.c (100%) diff --git a/libs/port/Makefile.in b/libs/port/Makefile.in index 23000c95e7e..730155507a5 100644 --- a/libs/port/Makefile.in +++ b/libs/port/Makefile.in @@ -3,6 +3,7 @@ STATICLIB = libwine_port.a C_SRCS = \ digitmap.c \ ffs.c \ + fold.c \ fstatvfs.c \ getopt.c \ getopt1.c \ diff --git a/libs/wine/fold.c b/libs/port/fold.c similarity index 100% rename from libs/wine/fold.c rename to libs/port/fold.c diff --git a/libs/wine/Makefile.in b/libs/wine/Makefile.in index 1b7fea8fa89..08156dac946 100644 --- a/libs/wine/Makefile.in +++ b/libs/wine/Makefile.in @@ -81,7 +81,6 @@ C_SRCS = \ config.c \ cptable.c \ debug.c \ - fold.c \ ldt.c \ loader.c \ mbtowc.c \ diff --git a/libs/wine/port.c b/libs/wine/port.c index a532b2d6e14..7e38de7f6af 100644 --- a/libs/wine/port.c +++ b/libs/wine/port.c @@ -25,8 +25,15 @@ #include #include +#include "wine/unicode.h" #include "wine/library.h" +/* functions from libwine_port that are also exported from libwine for backwards compatibility */ +const void *libwine_port_functions[] = +{ + wine_fold_string +}; + /* no longer used, for backwards compatibility only */ struct wine_pthread_functions; static void *pthread_functions[8];