From c4e4505a730f81de65df6a7b91fada15c6e42898 Mon Sep 17 00:00:00 2001 From: David Given Date: Sat, 23 Jun 2018 17:52:15 +0200 Subject: [PATCH] Move the errno functions into core. --- lang/cem/libcc.ansi/build.lua | 1 + lang/cem/libcc.ansi/{ => core}/errno/errlist.c | 0 lang/cem/libcc.ansi/{ => core}/errno/strerror.c | 0 lang/cem/libcc.ansi/errno/LIST | 1 - lang/cem/libcc.ansi/errno/Makefile | 2 -- 5 files changed, 1 insertion(+), 3 deletions(-) rename lang/cem/libcc.ansi/{ => core}/errno/errlist.c (100%) rename lang/cem/libcc.ansi/{ => core}/errno/strerror.c (100%) delete mode 100644 lang/cem/libcc.ansi/errno/LIST delete mode 100644 lang/cem/libcc.ansi/errno/Makefile diff --git a/lang/cem/libcc.ansi/build.lua b/lang/cem/libcc.ansi/build.lua index 4c89867af..18b2a44d6 100644 --- a/lang/cem/libcc.ansi/build.lua +++ b/lang/cem/libcc.ansi/build.lua @@ -33,6 +33,7 @@ for _, plat in ipairs(vars.plats) do srcs = { "+ctype_files", "+ctype_tab", + "./core/errno/*.c", "./core/string/*.c", "./core/stdlib/*.c", "./core/locale/*.c", diff --git a/lang/cem/libcc.ansi/errno/errlist.c b/lang/cem/libcc.ansi/core/errno/errlist.c similarity index 100% rename from lang/cem/libcc.ansi/errno/errlist.c rename to lang/cem/libcc.ansi/core/errno/errlist.c diff --git a/lang/cem/libcc.ansi/errno/strerror.c b/lang/cem/libcc.ansi/core/errno/strerror.c similarity index 100% rename from lang/cem/libcc.ansi/errno/strerror.c rename to lang/cem/libcc.ansi/core/errno/strerror.c diff --git a/lang/cem/libcc.ansi/errno/LIST b/lang/cem/libcc.ansi/errno/LIST deleted file mode 100644 index fd69e9793..000000000 --- a/lang/cem/libcc.ansi/errno/LIST +++ /dev/null @@ -1 +0,0 @@ -errlist.c diff --git a/lang/cem/libcc.ansi/errno/Makefile b/lang/cem/libcc.ansi/errno/Makefile deleted file mode 100644 index 39d27b10e..000000000 --- a/lang/cem/libcc.ansi/errno/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -clean: - rm -f errlist.o OLIST