diff options
Diffstat (limited to 'libs/libc/inc/def.h')
-rw-r--r-- | libs/libc/inc/def.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/libc/inc/def.h b/libs/libc/inc/def.h index 2bf50b1..583a351 100644 --- a/libs/libc/inc/def.h +++ b/libs/libc/inc/def.h @@ -25,10 +25,10 @@ typedef unsigned long long u64; #define UNUSED(__a) ((void)(__a)) -#define MIN(__a, __b) (((__a) < (__b)) ? (__a) : (__b)) -#define MAX(__a, __b) (((__a) > (__b)) ? (__a) : (__b)) +#define MIN(a, b) (((a) < (b)) ? (a) : (b)) +#define MAX(a, b) (((a) > (b)) ? (a) : (b)) -#define ABS(__a) ((u32)(((s32)(__a) < 0) ? (-__a) : (__a))) +#define ABS(a) ((u32)(((s32)(a) < 0) ? -(a) : (a))) #define ATTR __attribute__ #define NORETURN ATTR((noreturn)) |