diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-17 02:31:11 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-17 02:31:11 +0100 |
commit | ae942840140e38835e562e8d235578c017d00766 (patch) | |
tree | f71696eba1addd25ad0393926a3f0787f26a2e98 /src/inttypes | |
parent | split abs.c (diff) | |
download | slibc-ae942840140e38835e562e8d235578c017d00766.tar.gz slibc-ae942840140e38835e562e8d235578c017d00766.tar.bz2 slibc-ae942840140e38835e562e8d235578c017d00766.tar.xz |
add macros for abs, labs, llabs, and imaxabs
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/inttypes/imaxabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inttypes/imaxabs.c b/src/inttypes/imaxabs.c index 1f3b337..651452a 100644 --- a/src/inttypes/imaxabs.c +++ b/src/inttypes/imaxabs.c @@ -30,7 +30,7 @@ * @param value The integer. * @return The absolute value of the integer. */ -intmax_t imaxabs(intmax_t value) +intmax_t (imaxabs)(intmax_t value) { return value < 0 ? -value : value; } |