summaryrefslogtreecommitdiff
path: root/src/inttypes/wcstoumax.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/wcstoumax.c
parent1ded342f76187ed2dc5bc0c3523db430be9f8db7 (diff)
update to 1:1 checked calls
Diffstat (limited to 'src/inttypes/wcstoumax.c')
-rw-r--r--src/inttypes/wcstoumax.c3
1 files changed, 2 insertions, 1 deletions
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 <inttypes.h>
#include <wctype.h>
#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)
*/