summaryrefslogtreecommitdiff
path: root/src/inttypes/wcstoimax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inttypes/wcstoimax.c')
-rw-r--r--src/inttypes/wcstoimax.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inttypes/wcstoimax.c b/src/inttypes/wcstoimax.c
index 98c1636e..d49bf663 100644
--- a/src/inttypes/wcstoimax.c
+++ b/src/inttypes/wcstoimax.c
@@ -3,7 +3,6 @@
#include <inttypes.h>
#include <wctype.h>
#include "_safety.h"
-#undef wcstoimax
#define isspace iswspace
@@ -20,6 +19,8 @@ intmax_t wcstoimax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, in
return ret;
}
+__check_3(intmax_t, 0, wcstoimax, const wchar_t * restrict, wchar_t **restrict, int)
+
/*
STDC(199901)
*/