diff options
Diffstat (limited to 'newlib/libc/stdlib/llabs.c')
-rw-r--r-- | newlib/libc/stdlib/llabs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/llabs.c b/newlib/libc/stdlib/llabs.c index c2a561c..a020dea 100644 --- a/newlib/libc/stdlib/llabs.c +++ b/newlib/libc/stdlib/llabs.c @@ -54,8 +54,7 @@ No supporting OS subroutines are required. #include <stdlib.h> long long -_DEFUN(llabs, (j), - long long j) +llabs (long long j) { return (j < 0 ? -j : j); } |