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/wcstoumax.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/inttypes/wcstoumax.c') diff --git a/src/inttypes/wcstoumax.c b/src/inttypes/wcstoumax.c index 57140024..de1f1058 100644 --- a/src/inttypes/wcstoumax.c +++ b/src/inttypes/wcstoumax.c @@ -3,7 +3,6 @@ #include #include #include "_safety.h" -#undef wcstoumax #define isspace iswspace @@ -20,6 +19,8 @@ uintmax_t wcstoumax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, i return ret; } +__check_3(uintmax_t, 0, wcstoumax, const wchar_t * restrict, wchar_t ** restrict, int) + /* STDC(199901) */ -- cgit v1.2.1