summaryrefslogtreecommitdiff
path: root/source/base/base_test.c
diff options
context:
space:
mode:
authornasr <nsrddyn@gmail.com>2026-04-16 17:10:02 +0200
committernasr <nsrddyn@gmail.com>2026-04-16 17:10:02 +0200
commit8ea6a3c8621287d11296b8300029f32a27743d9a (patch)
treecd12aa5fcd3e058fa74b45705c7b82524658d444 /source/base/base_test.c
parentf430bfe8f71430032bec689bf0bbdc94ac409c22 (diff)
feature(checkpoint): checkpoint cleaning up base library
Diffstat (limited to 'source/base/base_test.c')
-rw-r--r--source/base/base_test.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source/base/base_test.c b/source/base/base_test.c
deleted file mode 100644
index e44aa69..0000000
--- a/source/base/base_test.c
+++ /dev/null
@@ -1,14 +0,0 @@
1void
2write_int(i32 num)
3{
4 if (num < 0)
5 {
6 write(STDERR_FILENO, "-", 1);
7 num = -num;
8 }
9 if (num >= 10)
10 write_int(num / 10);
11 char digit = '0' + (num % 10);
12
13 write(STDERR_FILENO, &digit, 1);
14}