diff options
| author | nasr <nsrddyn@gmail.com> | 2026-04-16 17:10:02 +0200 |
|---|---|---|
| committer | nasr <nsrddyn@gmail.com> | 2026-04-16 17:10:02 +0200 |
| commit | 8ea6a3c8621287d11296b8300029f32a27743d9a (patch) | |
| tree | cd12aa5fcd3e058fa74b45705c7b82524658d444 /source/base/base_test.c | |
| parent | f430bfe8f71430032bec689bf0bbdc94ac409c22 (diff) | |
feature(checkpoint): checkpoint cleaning up base library
Diffstat (limited to 'source/base/base_test.c')
| -rw-r--r-- | source/base/base_test.c | 14 |
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 @@ | |||
| 1 | void | ||
| 2 | write_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 | } | ||
