summaryrefslogtreecommitdiff
path: root/src/inttypes/imaxabs.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 22:19:14 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 22:19:14 -0500
commit2c7f07a77c02a1bf7293bc4cc80254b972f747f8 (patch)
treea51e1ca9526b59ab2bf01518f7b6f988b63d3cee /src/inttypes/imaxabs.c
parent1ded342f76187ed2dc5bc0c3523db430be9f8db7 (diff)
update to 1:1 checked calls
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).
***/