From 8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 7 Dec 2025 22:22:16 +0100 Subject: Add bin/true and bin/false implementations - Added assembly implementations for `true` and `false` commands. - Updated Kbuild files to include new binaries. - Removed unused libraries and headers. - Cleaned up makefile and unused code. --- lib/libc/wchar/wctob.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 lib/libc/wchar/wctob.c (limited to 'lib/libc/wchar/wctob.c') diff --git a/lib/libc/wchar/wctob.c b/lib/libc/wchar/wctob.c deleted file mode 100644 index 702e3f75..00000000 --- a/lib/libc/wchar/wctob.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include -#include - -#define IS_CODEUNIT(c) ((unsigned)(c) - 0xdf80 < 0x80) - -int wctob(wint_t c) -{ - if (c < 128U) - return (int)c; - - if (MB_CUR_MAX == 1 && IS_CODEUNIT(c)) - return (unsigned char)c; - - return EOF; -} -- cgit v1.2.3