From 2c7f07a77c02a1bf7293bc4cc80254b972f747f8 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 22:19:14 -0500 Subject: update to 1:1 checked calls --- src/inttypes/imaxdiv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/inttypes/imaxdiv.c') diff --git a/src/inttypes/imaxdiv.c b/src/inttypes/imaxdiv.c index 4c1c7a70..16f19c48 100644 --- a/src/inttypes/imaxdiv.c +++ b/src/inttypes/imaxdiv.c @@ -1,6 +1,5 @@ #include #include "_safety.h" -#undef imaxdiv /** calculate quotient and remainder **/ @@ -14,6 +13,8 @@ imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom) return r; } +__check_2(imaxdiv_t, {0}, imaxdiv, intmax_t, intmax_t) + /*** computes both the quotient and remainder of ARGUMENT(numer) divided by ARGUMENT(denom). -- cgit v1.2.1