summaryrefslogtreecommitdiff
path: root/lib/ktl/include/wchar.h
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-10-16 02:39:56 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-10-16 02:39:56 +0800
commit8cace3f05003c6cb4d38c36890055f03151c2ad4 (patch)
treeaa739deaac0266f17c4e91b333957501cb1ea2e9 /lib/ktl/include/wchar.h
parent3ad39e9878310e5317ee73c9b353c1e2c1c5c4ee (diff)
downloadlume-8cace3f05003c6cb4d38c36890055f03151c2ad4.tar.gz
lume-8cace3f05003c6cb4d38c36890055f03151c2ad4.tar.xz
Remove old code
Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
Diffstat (limited to 'lib/ktl/include/wchar.h')
-rw-r--r--lib/ktl/include/wchar.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/ktl/include/wchar.h b/lib/ktl/include/wchar.h
deleted file mode 100644
index b3f2ccb..0000000
--- a/lib/ktl/include/wchar.h
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2023 The Fuchsia Authors
-//
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file or at
-// https://opensource.org/licenses/MIT
-
-#ifndef ZIRCON_KERNEL_LIB_KTL_INCLUDE_WCHAR_H_
-#define ZIRCON_KERNEL_LIB_KTL_INCLUDE_WCHAR_H_
-
-// This file is included by <cstdio> and the like that are used from other
-// libc++ headers that are wrapped by ktl. This file exists to preempt those
-// inclusions so that libc++'s <wchar.h> wrapper header won't be used, since
-// it's not compatible with the kernel environment. However, other libc++
-// headers also use `#include_next <wchar.h>` to get to "the system libc"
-// version of the header. To satisfy those, include-after/wchar.h provides the
-// actual declarations needed from the standard C <wchar.h> API. So this
-// header just defers to that one, but must exist separately in this directory
-// so that it preempt's libc++'s wrapper. This can't itself use #include_next
-// because that would reach libc++'s wrapper before the include-after file.
-
-#include "../include-after/wchar.h"
-
-#endif // ZIRCON_KERNEL_LIB_KTL_INCLUDE_WCHAR_H_