From 6e4b9831f903e583d58de8b4265159f6d859ebc2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 2 Sep 2022 23:56:18 +0200 Subject: user/ports: bare minimum to run doomgeneric --- src/user/lib/math.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/user/lib/math.c') 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 #include -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"); } -- cgit v1.2.3