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/strtoumax.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inttypes/strtoumax.c') diff --git a/src/inttypes/strtoumax.c b/src/inttypes/strtoumax.c index 28fce88b..2889f109 100644 --- a/src/inttypes/strtoumax.c +++ b/src/inttypes/strtoumax.c @@ -4,8 +4,6 @@ #include #include "_safety.h" -#undef strtoumax - uintmax_t strtoumax(const char *restrict nptr, char ** restrict endptr, int base) { SIGNAL_SAFE(0); @@ -19,6 +17,8 @@ uintmax_t strtoumax(const char *restrict nptr, char ** restrict endptr, int base return ret; } +__check_3(uintmax_t, 0, strtoumax, const char *restrict, char ** restrict, int) + /* STDC(199901) */ -- cgit v1.2.1