summaryrefslogtreecommitdiff
path: root/src/inttypes/imaxabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inttypes/imaxabs.c')
-rw-r--r--src/inttypes/imaxabs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inttypes/imaxabs.c b/src/inttypes/imaxabs.c
index 28f82987..ca1d93c4 100644
--- a/src/inttypes/imaxabs.c
+++ b/src/inttypes/imaxabs.c
@@ -1,6 +1,5 @@
#include <inttypes.h>
#include "_safety.h"
-#undef imaxabs
/** absolute value **/
@@ -16,6 +15,8 @@ intmax_t imaxabs(intmax_t j)
return j < 0 ? -j : j;
}
+__check_1(intmax_t, 0, imaxabs, intmax_t)
+
/***
computes the absolute value of ARGUMENT(j).
***/