diff options
author | dzwdz | 2022-09-02 23:56:18 +0200 |
---|---|---|
committer | dzwdz | 2022-09-02 23:56:18 +0200 |
commit | 6e4b9831f903e583d58de8b4265159f6d859ebc2 (patch) | |
tree | 9e941257df8898356d605a7f3398aa09d9b00ec9 /src/user/lib/math.c | |
parent | e7770ccc0fab8f3a4b65bf2f7a1a11ad453f77e4 (diff) |
user/ports: bare minimum to run doomgeneric
Diffstat (limited to 'src/user/lib/math.c')
-rw-r--r-- | src/user/lib/math.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/user/lib/math.c b/src/user/lib/math.c index db1f2ec..bf7c039 100644 --- a/src/user/lib/math.c +++ b/src/user/lib/math.c @@ -1,11 +1,6 @@ #include <math.h> #include <user/lib/panic.h> -int abs(int i) { - return i < 0 ? -i : i; -} - - // TODO port a libm #pragma GCC diagnostic ignored "-Wunused-parameter" double acos(double x) { __libc_panic("unimplemented"); } |