diff options
Diffstat (limited to 'userland/libc/include/math.h')
-rw-r--r-- | userland/libc/include/math.h | 4 |
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)) |