aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/src/cstdlib.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-10-29 10:39:30 +0100
committerFelix Morgner <felix.morgner@ost.ch>2025-10-29 10:39:30 +0100
commitacabbacdee68ad80e829bda56ae5363d04646d2d (patch)
treefaca32b951c286330ebb40205bb908fb2d51be54 /libs/kstd/src/cstdlib.cpp
parent27a00c67d0110ddaebb4035e68860e00e32a3b8f (diff)
downloadteachos-acabbacdee68ad80e829bda56ae5363d04646d2d.tar.xz
teachos-acabbacdee68ad80e829bda56ae5363d04646d2d.zip
kstd: clean up libc implementation
Diffstat (limited to 'libs/kstd/src/cstdlib.cpp')
-rw-r--r--libs/kstd/src/cstdlib.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/libs/kstd/src/cstdlib.cpp b/libs/kstd/src/cstdlib.cpp
deleted file mode 100644
index 8fb5f63..0000000
--- a/libs/kstd/src/cstdlib.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "kstd/bits/os.hpp"
-
-namespace kstd
-{
-
- extern "C"
- {
- [[noreturn]] auto abort() -> void
- {
- if (!kstd::os::abort())
- {
- os::panic("System abort handler returned.");
- }
- __builtin_trap();
- }
- }
-
-} // namespace kstd \ No newline at end of file