summaryrefslogtreecommitdiff
path: root/include/libc-shim/bits
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-07-10 11:31:46 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-07-10 11:31:46 +0800
commite90b72ec3082588b296956730bd2930cf8d5d671 (patch)
tree36ff6916af9b4176ea5a9662219d11e721f0b691 /include/libc-shim/bits
parent1767d390fbf3d0c65389de46caf0b6d43ef3b6ad (diff)
downloadlume-e90b72ec3082588b296956730bd2930cf8d5d671.tar.gz
lume-e90b72ec3082588b296956730bd2930cf8d5d671.tar.xz
refactor: promote new architecture to repository root
Archive the deprecated implementation under lume-legacy, make the new kernel the default root-level build, and update repository entry points without changing kernel behavior.
Diffstat (limited to 'include/libc-shim/bits')
-rw-r--r--include/libc-shim/bits/alltypes.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/libc-shim/bits/alltypes.h b/include/libc-shim/bits/alltypes.h
new file mode 100644
index 0000000..cf21a5e
--- /dev/null
+++ b/include/libc-shim/bits/alltypes.h
@@ -0,0 +1,15 @@
+/* Shim: provide types musl string functions need */
+#ifndef _BITS_ALLTYPES_H
+#define _BITS_ALLTYPES_H
+
+#ifndef __cplusplus
+typedef unsigned long size_t;
+#endif
+
+typedef long ssize_t;
+typedef unsigned long uintptr_t;
+
+/* locale_t stub — unused in kernel, but declared by some headers */
+typedef void *locale_t;
+
+#endif