From 32f47b1d24126bec36c0f6d830b99a0d73ade909 Mon Sep 17 00:00:00 2001 From: David Given Date: Thu, 21 Jun 2018 22:54:25 +0200 Subject: [PATCH] Move the pure locale functions into the new pure directory. --- lang/cem/libcc.ansi/build.lua | 1 + lang/cem/libcc.ansi/locale/LIST | 2 -- lang/cem/libcc.ansi/locale/Makefile | 2 -- lang/cem/libcc.ansi/{ => pure}/locale/localeconv.c | 0 lang/cem/libcc.ansi/{ => pure}/locale/setlocale.c | 0 5 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 lang/cem/libcc.ansi/locale/LIST delete mode 100644 lang/cem/libcc.ansi/locale/Makefile rename lang/cem/libcc.ansi/{ => pure}/locale/localeconv.c (100%) rename lang/cem/libcc.ansi/{ => pure}/locale/setlocale.c (100%) diff --git a/lang/cem/libcc.ansi/build.lua b/lang/cem/libcc.ansi/build.lua index 7536d002f..8ff63ea7c 100644 --- a/lang/cem/libcc.ansi/build.lua +++ b/lang/cem/libcc.ansi/build.lua @@ -35,6 +35,7 @@ for _, plat in ipairs(vars.plats) do "+ctype_tab", "./pure/string/*.c", "./pure/stdlib/*.c", + "./pure/locale/*.c", "./ctype/*.c", "./errno/*.c", "./locale/*.c", diff --git a/lang/cem/libcc.ansi/locale/LIST b/lang/cem/libcc.ansi/locale/LIST deleted file mode 100644 index 6ec7d31e6..000000000 --- a/lang/cem/libcc.ansi/locale/LIST +++ /dev/null @@ -1,2 +0,0 @@ -localeconv.c -setlocale.c diff --git a/lang/cem/libcc.ansi/locale/Makefile b/lang/cem/libcc.ansi/locale/Makefile deleted file mode 100644 index dea8cb17b..000000000 --- a/lang/cem/libcc.ansi/locale/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -clean: - rm -f localeconv.o setlocale.o OLIST diff --git a/lang/cem/libcc.ansi/locale/localeconv.c b/lang/cem/libcc.ansi/pure/locale/localeconv.c similarity index 100% rename from lang/cem/libcc.ansi/locale/localeconv.c rename to lang/cem/libcc.ansi/pure/locale/localeconv.c diff --git a/lang/cem/libcc.ansi/locale/setlocale.c b/lang/cem/libcc.ansi/pure/locale/setlocale.c similarity index 100% rename from lang/cem/libcc.ansi/locale/setlocale.c rename to lang/cem/libcc.ansi/pure/locale/setlocale.c