Remove abs from libc. Create abstract random.

This commit is contained in:
Christoffer Lerno
2023-02-24 00:00:36 +01:00
parent 2a6339a25e
commit fc0cad2894
4 changed files with 157 additions and 48 deletions

View File

@@ -52,7 +52,6 @@ extern fn int unsetenv(ZString name);
extern fn int system(char* str);
extern fn void bsearch(void* key, void *base, usz items, usz size, CompareFunction compare);
extern fn void qsort(void* base, usz items, usz size, CompareFunction compare);
extern fn int abs(int x);
extern fn DivResult div(int numer, int denom);
extern fn long labs(long x);
extern fn LongDivResult ldiv(long number, long denom);