diff options
Diffstat (limited to 'stdlib/llabs.c')
-rw-r--r-- | stdlib/llabs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stdlib/llabs.c b/stdlib/llabs.c index 8f301d165d..9c24183fc4 100644 --- a/stdlib/llabs.c +++ b/stdlib/llabs.c @@ -23,8 +23,7 @@ /* Return the absolute value of I. */ long long int -llabs (i) - long long int i; +llabs (long long int i) { return i < 0 ? -i : i; } |