summaryrefslogtreecommitdiff
path: root/userland/libc/include
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-12-18 16:02:34 +0100
committerAnton Kling <anton@kling.gg>2023-12-18 16:02:34 +0100
commitb7fa1457727338416499d1b0144f1042a6878a97 (patch)
tree3add0539a6afec94d1f1fdcd2f4200f21a84d776 /userland/libc/include
parent43a72a1a5719039de5d7e347806aae163e30f17a (diff)
Add untracked files
Diffstat (limited to 'userland/libc/include')
-rw-r--r--userland/libc/include/math.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/userland/libc/include/math.h b/userland/libc/include/math.h
index dbb94e7..9d4f4b4 100644
--- a/userland/libc/include/math.h
+++ b/userland/libc/include/math.h
@@ -1,2 +1,2 @@
-int max(int a, int b);
-int min(int a, int b);
+#define max(_a, _b) ((_a) > (_b) ? (_a) : (_b))
+#define min(_a, _b) ((_a) < (_b) ? (_a) : (_b))